mirror of
https://github.com/fluencelabs/redis
synced 2025-04-03 16:21:03 +00:00
Regression test for SINTERSTORE added
This commit is contained in:
parent
0d36ded040
commit
f4d9b3c62a
@ -602,6 +602,11 @@ proc main {server port} {
|
|||||||
lsort [$r smembers setres]
|
lsort [$r smembers setres]
|
||||||
} [lsort -uniq "[$r smembers set1] [$r smembers set2]"]
|
} [lsort -uniq "[$r smembers set1] [$r smembers set2]"]
|
||||||
|
|
||||||
|
test {SUNIONSTORE against non existing keys} {
|
||||||
|
$r set setres xxx
|
||||||
|
list [$r sunionstore setres foo111 bar222] [$r exists xxx]
|
||||||
|
} {0 0}
|
||||||
|
|
||||||
test {SINTER against three sets} {
|
test {SINTER against three sets} {
|
||||||
$r sadd set3 999
|
$r sadd set3 999
|
||||||
$r sadd set3 995
|
$r sadd set3 995
|
||||||
|
Loading…
x
Reference in New Issue
Block a user