mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 17:40:50 +00:00
SDIFF iterator misuse bug regression test added.
See commit c00453d for more info about the bug.
This commit is contained in:
parent
c00453da1d
commit
b1ba58f341
@ -214,6 +214,12 @@ start_server {
|
|||||||
r sdiff set1 set2 set3
|
r sdiff set1 set2 set3
|
||||||
} {}
|
} {}
|
||||||
|
|
||||||
|
test "SDIFF with same set two times" {
|
||||||
|
r del set1
|
||||||
|
r sadd set1 a b c 1 2 3 4 5 6
|
||||||
|
r sdiff set1 set1
|
||||||
|
} {}
|
||||||
|
|
||||||
test "SDIFF fuzzing" {
|
test "SDIFF fuzzing" {
|
||||||
for {set j 0} {$j < 100} {incr j} {
|
for {set j 0} {$j < 100} {incr j} {
|
||||||
unset -nocomplain s
|
unset -nocomplain s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user