diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2012-01-02 22:14:10 -0800 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2012-01-02 22:14:10 -0800 |
commit | ebd85e9a455df689c9be02a93354f580df4cafd8 (patch) | |
tree | 701f9443785b6bea61150b759c9d4d30e96a0dc8 /tests/unit/aofrw.tcl | |
parent | 9ea54feef0f2e62f7618da9b0ce3acce9f474db6 (diff) | |
download | redis-ebd85e9a455df689c9be02a93354f580df4cafd8.tar.gz |
Encode small hashes with a ziplist
Diffstat (limited to 'tests/unit/aofrw.tcl')
-rw-r--r-- | tests/unit/aofrw.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/aofrw.tcl b/tests/unit/aofrw.tcl index a558ed4ca..358266ef7 100644 --- a/tests/unit/aofrw.tcl +++ b/tests/unit/aofrw.tcl @@ -54,10 +54,10 @@ start_server {tags {"aofrw"}} { } foreach d {string int} { - foreach e {zipmap hashtable} { + foreach e {ziplist hashtable} { test "AOF rewrite of hash with $e encoding, $d data" { r flushall - if {$e eq {zipmap}} {set len 10} else {set len 1000} + if {$e eq {ziplist}} {set len 10} else {set len 1000} for {set j 0} {$j < $len} {incr j} { if {$d eq {string}} { set data [randstring 0 16 alpha] |