From c0875a77a14d417f76b4419127733929ace587ee 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 0a1cd409..49408ac0 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} } }