mirror of
https://github.com/fluencelabs/redis
synced 2025-04-14 13:16:03 +00:00
Test: fix SPOP replication test count.
If count is 0 SADD is called without element arguments, which is currently invalid.
This commit is contained in:
parent
93b1320fac
commit
e791e2dda1
@ -135,7 +135,7 @@ start_server {tags {"repl"}} {
|
|||||||
|
|
||||||
test {Replication of SPOP command -- alsoPropagate() API} {
|
test {Replication of SPOP command -- alsoPropagate() API} {
|
||||||
$master del myset
|
$master del myset
|
||||||
set size [randomInt 100]
|
set size [expr 1+[randomInt 100]]
|
||||||
set content {}
|
set content {}
|
||||||
for {set j 0} {$j < $size} {incr j} {
|
for {set j 0} {$j < $size} {incr j} {
|
||||||
lappend content [randomValue]
|
lappend content [randomValue]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user