You need to sign in or sign up before continuing.
Commit 2b9a5947 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

SORT tests with hash table encoded set as input

parent ced6709c
...@@ -3,6 +3,7 @@ start_server { ...@@ -3,6 +3,7 @@ start_server {
overrides { overrides {
"list-max-ziplist-value" 16 "list-max-ziplist-value" 16
"list-max-ziplist-entries" 32 "list-max-ziplist-entries" 32
"set-max-intset-entries" 32
} }
} { } {
proc create_random_dataset {num cmd} { proc create_random_dataset {num cmd} {
...@@ -37,6 +38,7 @@ start_server { ...@@ -37,6 +38,7 @@ start_server {
foreach {num cmd enc title} { foreach {num cmd enc title} {
16 lpush ziplist "Ziplist" 16 lpush ziplist "Ziplist"
64 lpush linkedlist "Linked list" 64 lpush linkedlist "Linked list"
64 sadd hashtable "Hash table"
} { } {
set result [create_random_dataset $num $cmd] set result [create_random_dataset $num $cmd]
assert_encoding $enc tosort assert_encoding $enc tosort
......
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