Commit 6662806a authored by antirez's avatar antirez
Browse files

Regression test for issue #142 added

parent 6e3f1a9e
#define REDIS_VERSION "2.4.0" #define REDIS_VERSION "2.4.1"
...@@ -57,5 +57,11 @@ start_server {tags {"repl"}} { ...@@ -57,5 +57,11 @@ start_server {tags {"repl"}} {
if {$::valgrind} {after 2000} if {$::valgrind} {after 2000}
r 0 get mykey r 0 get mykey
} {bar} } {bar}
test {FLUSHALL should replicate} {
r -1 flushall
if {$::valgrind} {after 2000}
list [r -1 dbsize] [r 0 dbsize]
} {0 0}
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment