Ver Fonte

Added tests for BGREWRITEAOF.

Daniele Alessandri há 15 anos atrás
pai
commit
afdc79f97f
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      test/RedisCommandsTest.php

+ 4 - 0
test/RedisCommandsTest.php

@@ -1337,6 +1337,10 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
         $this->assertTrue($this->redis->backgroundSave());
     }
 
+    function testBackgroundRewriteAppendOnlyFile() {
+        $this->assertTrue($this->redis->backgroundRewriteAppendOnlyFile());
+    }
+
     function testLastSave() {
         $this->assertGreaterThan(0, $this->redis->lastSave());
     }