mirror of
https://github.com/fluencelabs/redis
synced 2025-03-31 14:51:04 +00:00
Fix SCAN bug regression test, avoiding empty SREM call.
This commit is contained in:
parent
ce17f76bbd
commit
1e92fde3d3
@ -246,7 +246,7 @@ start_server {tags {"scan"}} {
|
|||||||
array set found {}
|
array set found {}
|
||||||
|
|
||||||
# Populate the set
|
# Populate the set
|
||||||
set numele [expr {100+[randomInt 1000]}]
|
set numele [expr {101+[randomInt 1000]}]
|
||||||
for {set j 0} {$j < $numele} {incr j} {
|
for {set j 0} {$j < $numele} {incr j} {
|
||||||
r sadd set $j
|
r sadd set $j
|
||||||
if {$j >= 100} {
|
if {$j >= 100} {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user