Переглянути джерело

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

Daniele Alessandri 13 роки тому
батько
коміт
d784838447
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      test/RedisCommandsTest.php

+ 1 - 0
test/RedisCommandsTest.php

@@ -2166,6 +2166,7 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase
     function testBackgroundSave()
     {
         $this->assertTrue($this->redis->bgsave());
+        sleep(1);
     }
 
     function testBackgroundRewriteAppendOnlyFile()