Commit 2ac546e0 authored by Harmen's avatar Harmen Committed by antirez
Browse files

Show problem with 'keys' command with specific command sequence.

parent d9241b35
...@@ -141,4 +141,15 @@ start_server {tags {"expire"}} { ...@@ -141,4 +141,15 @@ start_server {tags {"expire"}} {
set size2 [r dbsize] set size2 [r dbsize]
list $size1 $size2 list $size1 $size2
} {3 0} } {3 0}
test {5 keys in, 5 keys out} {
r flushdb
r set a c
r expire a 5
r set t c
r set e c
r set s c
r set foo b
lsort [r keys *]
} {a e foo s t}
} }
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