summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2014-12-16 00:49:14 -0500
committerMatt Stancliff <matt@genges.com>2015-01-02 11:16:10 -0500
commit02bb515a094c081fcbc3e33c60a5dbff440eb447 (patch)
treed9c803b0998f16fb4c87feab072eb47353fe100d /tests
parentbbbbfb14422ee84e4b79330f299ddacf9be23d88 (diff)
downloadredis-02bb515a094c081fcbc3e33c60a5dbff440eb447.tar.gz
Config: Add quicklist, remove old list options
This removes: - list-max-ziplist-entries - list-max-ziplist-value This adds: - list-max-ziplist-size - list-compress-depth Also updates config file with new sections and updates tests to use quicklist settings instead of old list settings.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/sort.tcl3
-rw-r--r--tests/unit/type/list-2.tcl3
-rw-r--r--tests/unit/type/list-3.tcl3
-rw-r--r--tests/unit/type/list.tcl3
4 files changed, 4 insertions, 8 deletions
diff --git a/tests/unit/sort.tcl b/tests/unit/sort.tcl
index 5ae48d450..083c4540d 100644
--- a/tests/unit/sort.tcl
+++ b/tests/unit/sort.tcl
@@ -1,8 +1,7 @@
start_server {
tags {"sort"}
overrides {
- "list-max-ziplist-value" 16
- "list-max-ziplist-entries" 32
+ "list-max-ziplist-size" 32
"set-max-intset-entries" 32
}
} {
diff --git a/tests/unit/type/list-2.tcl b/tests/unit/type/list-2.tcl
index d25873912..4c7d6d91c 100644
--- a/tests/unit/type/list-2.tcl
+++ b/tests/unit/type/list-2.tcl
@@ -1,8 +1,7 @@
start_server {
tags {"list"}
overrides {
- "list-max-ziplist-value" 16
- "list-max-ziplist-entries" 4
+ "list-max-ziplist-size" 4
}
} {
source "tests/unit/type/list-common.tcl"
diff --git a/tests/unit/type/list-3.tcl b/tests/unit/type/list-3.tcl
index 81ef9b3e5..ece6ea2d5 100644
--- a/tests/unit/type/list-3.tcl
+++ b/tests/unit/type/list-3.tcl
@@ -1,8 +1,7 @@
start_server {
tags {list ziplist}
overrides {
- "list-max-ziplist-value" 200000
- "list-max-ziplist-entries" 16
+ "list-max-ziplist-size" 16
}
} {
test {Explicit regression for a list bug} {
diff --git a/tests/unit/type/list.tcl b/tests/unit/type/list.tcl
index 0c0c07761..e4d568cf1 100644
--- a/tests/unit/type/list.tcl
+++ b/tests/unit/type/list.tcl
@@ -1,8 +1,7 @@
start_server {
tags {"list"}
overrides {
- "list-max-ziplist-value" 16
- "list-max-ziplist-entries" 5
+ "list-max-ziplist-size" 5
}
} {
source "tests/unit/type/list-common.tcl"