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:
antirez 2015-03-13 17:30:13 +01:00
parent 93b1320fac
commit e791e2dda1

View File

@ -135,7 +135,7 @@ start_server {tags {"repl"}} {
test {Replication of SPOP command -- alsoPropagate() API} {
$master del myset
set size [randomInt 100]
set size [expr 1+[randomInt 100]]
set content {}
for {set j 0} {$j < $size} {incr j} {
lappend content [randomValue]