Merge pull request #6104 from nupplaphil/friendica-6101

Finding slow tests
This commit is contained in:
Michael Vogel 2018-11-10 17:39:42 +01:00 committed by GitHub
commit d577ab98eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 58 additions and 2 deletions

View file

@ -123,6 +123,8 @@ abstract class CacheTest extends DatabaseTest
* @medium
*/
function testTTL() {
$this->markTestSkipped('taking too much time without mocking');
$this->assertNull($this->instance->get('value1'));
$value = 'foobar';

View file

@ -116,6 +116,8 @@ abstract class LockTest extends DatabaseTest
* @medium
*/
function testLockTTL() {
$this->markTestSkipped('taking too much time without mocking');
$this->assertFalse($this->instance->isLocked('foo'));
$this->assertFalse($this->instance->isLocked('bar'));