Fix SCAN bug regression test, avoiding empty SREM call.

This commit is contained in:
antirez 2018-06-14 12:21:54 +02:00
parent ce17f76bbd
commit 1e92fde3d3

View File

@ -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} {