diff options
author | antirez <antirez@gmail.com> | 2018-06-14 12:21:54 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2018-06-14 12:21:58 +0200 |
commit | 1e92fde3d34237ff4d30f8a46f74c34f037ed1dd (patch) | |
tree | d42d567ba4a0a2e3c9af83fc10da8152df34e34b /tests | |
parent | ce17f76bbd95f68ab6716adcbf12d49e3822b87c (diff) | |
download | redis-1e92fde3d34237ff4d30f8a46f74c34f037ed1dd.tar.gz |
Fix SCAN bug regression test, avoiding empty SREM call.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/scan.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/scan.tcl b/tests/unit/scan.tcl index a8cc81163..c0f4349d2 100644 --- a/tests/unit/scan.tcl +++ b/tests/unit/scan.tcl @@ -246,7 +246,7 @@ start_server {tags {"scan"}} { array set found {} # Populate the set - set numele [expr {100+[randomInt 1000]}] + set numele [expr {101+[randomInt 1000]}] for {set j 0} {$j < $numele} {incr j} { r sadd set $j if {$j >= 100} { |