From a9dedd0d884651229a2bd10e8da4b99db6a75ba7 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 17 Oct 2011 10:40:11 +0200 Subject: [PATCH] Regression test for issue #142 added --- tests/integration/replication.tcl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl index 0a1cd409f..49408ac06 100644 --- a/tests/integration/replication.tcl +++ b/tests/integration/replication.tcl @@ -57,5 +57,11 @@ start_server {tags {"repl"}} { if {$::valgrind} {after 2000} r 0 get mykey } {bar} + + test {FLUSHALL should replicate} { + r -1 flushall + if {$::valgrind} {after 2000} + list [r -1 dbsize] [r 0 dbsize] + } {0 0} } }