Commit f5785ae9 authored by antirez's avatar antirez
Browse files

RANDOMKEY regression test added

parent 6f864e62
...@@ -624,6 +624,13 @@ proc main {server port} { ...@@ -624,6 +624,13 @@ proc main {server port} {
$r randomkey $r randomkey
} {} } {}
test {RANDOMKEY regression 1} {
$r flushall
$r set x 10
$r del x
$r randomkey
} {}
# Leave the user with a clean DB before to exit # Leave the user with a clean DB before to exit
test {FLUSHALL} { test {FLUSHALL} {
$r flushall $r flushall
......
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