]> 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:21:44 +0000 (15:21 +0200)
commita85c89854f31b26cede276c730d67de954e8182f
treea3dfae5e1450287f35562dd296fdb448dea6d450
parent1a3e9d951be14fecf29cb7ad3d5f068e151b66f1
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