Fix race condition in tests between cache and lock
This commit is contained in:
parent
e5161c3829
commit
26948cf565
@ -41,7 +41,6 @@ abstract class AbstractRedisAdapterTest extends AdapterTestCase
|
||||
|
||||
public static function tearDownAfterClass()
|
||||
{
|
||||
self::$redis->flushDB();
|
||||
self::$redis = null;
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,6 @@ class PredisClusterAdapterTest extends AbstractRedisAdapterTest
|
||||
|
||||
public static function tearDownAfterClass()
|
||||
{
|
||||
self::$redis->getConnection()->getConnectionByKey('foo')->executeCommand(self::$redis->createCommand('FLUSHDB'));
|
||||
self::$redis = null;
|
||||
}
|
||||
}
|
||||
|
@ -41,7 +41,6 @@ abstract class AbstractRedisCacheTest extends CacheTestCase
|
||||
|
||||
public static function tearDownAfterClass()
|
||||
{
|
||||
self::$redis->flushDB();
|
||||
self::$redis = null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user