From 70bc5f7724364e93c63865c02d517bc0164274d9 Mon Sep 17 00:00:00 2001
From: antirez <antirez@gmail.com>
Date: Thu, 12 May 2011 20:15:13 +0200
Subject: [PATCH] replication with expire test modified to produce no or less
 false failures

---
 tests/integration/replication.tcl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl
index 6ca5a6dd..7be4df4b 100644
--- a/tests/integration/replication.tcl
+++ b/tests/integration/replication.tcl
@@ -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}]