Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
ZINTERSTORE regressiont test with two sets, intset+hashtable
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed May 12, 2011
1 parent 6b52ad8 commit af9aed2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/unit/type/zset.tcl
Expand Up @@ -460,6 +460,13 @@ start_server {tags {"zset"}} {
basics ziplist
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} {
if {$encoding == "ziplist"} {
# Little extra to allow proper fuzzing in the sorting stresser
Expand Down

0 comments on commit af9aed2

Please sign in to comment.