Commit af9aed25 authored by antirez's avatar antirez
Browse files

ZINTERSTORE regressiont test with two sets, intset+hashtable

parent 6b52ad87
...@@ -460,6 +460,13 @@ start_server {tags {"zset"}} { ...@@ -460,6 +460,13 @@ start_server {tags {"zset"}} {
basics ziplist basics ziplist
basics skiplist basics skiplist
test {ZINTERSTORE regression with two sets, intset+hashtable} {
r del seta setb setc
r sadd set1 a
r sadd set2 10
r zinterstore set3 2 set1 set2
} {0}
proc stressers {encoding} { proc stressers {encoding} {
if {$encoding == "ziplist"} { if {$encoding == "ziplist"} {
# Little extra to allow proper fuzzing in the sorting stresser # Little extra to allow proper fuzzing in the sorting stresser
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment