From ddccd0ed58eafaa7394965156dd0e95cf035dcae Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 22 Jul 2013 23:40:03 +0200 Subject: [PATCH] Test: regression test for issue #1208. --- tests/unit/basic.tcl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/unit/basic.tcl b/tests/unit/basic.tcl index c766b3de..1f46ba66 100644 --- a/tests/unit/basic.tcl +++ b/tests/unit/basic.tcl @@ -754,4 +754,11 @@ start_server {tags {"basic"}} { set ttl [r ttl foo] 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} }