Added tests for BGREWRITEAOF.

This commit is contained in:
Daniele Alessandri
2010-01-23 15:31:53 +01:00
parent 6cb9663539
commit afdc79f97f
+4
View File
@@ -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());
}