[test] Sleep one second to give BGSAVE the time to complete.

This commit is contained in:
Daniele Alessandri
2011-11-18 20:43:48 +01:00
parent 654907857d
commit d784838447
+1
View File
@@ -2166,6 +2166,7 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase
function testBackgroundSave()
{
$this->assertTrue($this->redis->bgsave());
sleep(1);
}
function testBackgroundRewriteAppendOnlyFile()