]> git.saurik.com Git - redis.git/commitdiff
A test modified to pass with the new AOF start/stop semantics.
authorantirez <antirez@gmail.com>
Wed, 21 Dec 2011 08:24:14 +0000 (09:24 +0100)
committerantirez <antirez@gmail.com>
Wed, 21 Dec 2011 08:24:14 +0000 (09:24 +0100)
tests/unit/other.tcl

index bb65570a46685388cbdf41e02aefe23ccb084ea0..6bdb0b3f96fcd727c2fa0700e35914d5d9120ba1 100644 (file)
@@ -140,6 +140,7 @@ start_server {tags {"other"}} {
         r pexpireat pz [expr {([clock seconds]+3000)*1000}]
 
         # Reload and check
         r pexpireat pz [expr {([clock seconds]+3000)*1000}]
 
         # Reload and check
+        waitForBgrewriteaof r
         r debug loadaof
         set ttl [r ttl x]
         assert {$ttl > 900 && $ttl <= 1000}
         r debug loadaof
         set ttl [r ttl x]
         assert {$ttl > 900 && $ttl <= 1000}