Regression test for issue #142 added

This commit is contained in:
antirez 2011-10-17 10:40:11 +02:00
parent 13cd1515f9
commit c0875a77a1

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