From 6662806a2656d360dc8eed024e5e66a82ae84865 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 --- src/version.h | 2 +- tests/integration/replication.tcl | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/version.h b/src/version.h index 49d04081..7e69936e 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define REDIS_VERSION "2.4.0" +#define REDIS_VERSION "2.4.1" 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} } }