From: antirez Date: Thu, 12 May 2011 18:20:25 +0000 (+0200) Subject: ZINTERSTORE regressiont test with two sets, intset+hashtable X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/af9aed25e44cf6e0c38cee2d289c7c31f03fc01f?ds=sidebyside;hp=6b52ad87c05ca2162a2d21f1f5b5329bf52a7678 ZINTERSTORE regressiont test with two sets, intset+hashtable --- diff --git a/tests/unit/type/zset.tcl b/tests/unit/type/zset.tcl index 4fa7af1b..37668cfe 100644 --- a/tests/unit/type/zset.tcl +++ b/tests/unit/type/zset.tcl @@ -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