Regression test for issue #142 added

This commit is contained in:
antirez 2011-10-17 10:40:11 +02:00
parent 1c00a9b3eb
commit a9dedd0d88

View File

@ -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}
}
}