Commit ddccd0ed authored by antirez's avatar antirez
Browse files

Test: regression test for issue #1208.

parent dbaa5b0b
...@@ -754,4 +754,11 @@ start_server {tags {"basic"}} { ...@@ -754,4 +754,11 @@ start_server {tags {"basic"}} {
set ttl [r ttl foo] set ttl [r ttl foo]
assert {$ttl <= 10 && $ttl > 5} assert {$ttl <= 10 && $ttl > 5}
} }
test {KEYS * two times with long key, Github issue #1208} {
r flushdb
r set dlskeriewrioeuwqoirueioqwrueoqwrueqw test
r keys *
r keys *
} {dlskeriewrioeuwqoirueioqwrueoqwrueqw}
} }
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