From: antirez Date: Mon, 17 Oct 2011 08:40:11 +0000 (+0200) Subject: Regression test for issue #142 added X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/c0875a77a14d417f76b4419127733929ace587ee?ds=sidebyside Regression test for issue #142 added --- 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} } }