Skip to content

Commit

Permalink
Test: regression test for issue #1208.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Jul 22, 2013
1 parent dbaa5b0 commit ddccd0e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/unit/basic.tcl
Expand Up @@ -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}
}

0 comments on commit ddccd0e

Please sign in to comment.