Explorar o código

Added tests for BGREWRITEAOF.

Daniele Alessandri %!s(int64=15) %!d(string=hai) anos
pai
achega
afdc79f97f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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());
     }