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
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'));