]> git.saurik.com Git - redis.git/commit - tests/unit/type/hash.tcl
New test: hash ziplist -> hashtable encoding conversion.
authorantirez <antirez@gmail.com>
Mon, 11 Jun 2012 13:19:46 +0000 (15:19 +0200)
committerantirez <antirez@gmail.com>
Mon, 11 Jun 2012 13:19:46 +0000 (15:19 +0200)
commitc0de45924c4033a8650b627e75b7fd6396c52187
tree31035459bb83751ba01084916139406f872664aa
parent80e808b6d6ca40580899bda0397d7c0d9b19b1a8
New test: hash ziplist -> hashtable encoding conversion.

A new stress test was added to stress test the code converting a ziplist
into an hash table.

In this commit also randomValue helper function was modified to also
return negative values.
tests/support/util.tcl
tests/unit/type/hash.tcl