Parcourir la source

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

Daniele Alessandri il y a 13 ans
Parent
commit
d784838447
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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()