]> git.saurik.com Git - redis.git/commitdiff
replication with expire test modified to produce no or less false failures
authorantirez <antirez@gmail.com>
Thu, 12 May 2011 18:15:13 +0000 (20:15 +0200)
committerantirez <antirez@gmail.com>
Thu, 12 May 2011 18:21:43 +0000 (20:21 +0200)
tests/integration/replication.tcl

index 6ca5a6dda894050228632f6e78eb7a8796ed1185..7be4df4b7d32d74d0fb5e5c7260c810ac138cf7e 100644 (file)
@@ -27,6 +27,8 @@ start_server {tags {"repl"}} {
         test {MASTER and SLAVE consistency with expire} {
             createComplexDataset r 50000 useexpire
             after 4000 ;# Make sure everything expired before taking the digest
+            r keys *   ;# Force DEL syntesizing to slave
+            after 1000 ;# Wait another second. Now everything should be file.
             if {[r debug digest] ne [r -1 debug digest]} {
                 set csv1 [csvdump r]
                 set csv2 [csvdump {r -1}]