diff options
author | antirez <antirez@gmail.com> | 2011-04-15 17:41:32 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-04-15 17:41:32 +0200 |
commit | 38de9362b2b6ea3b7466b6dd846095b51f435886 (patch) | |
tree | 8eda9abd41e4307ab442754d215d3202587fdb7c | |
parent | 760099493752329e841b19a9578f9618daa55ef2 (diff) | |
download | redis-38de9362b2b6ea3b7466b6dd846095b51f435886.tar.gz |
Revert "tests for variadic list push"
This reverts commit 1b905277bb61255441a24a2a3667d5899b1c448f.
Moving all the new stuff in 2.4 branch.
-rw-r--r-- | tests/unit/type/list.tcl | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/unit/type/list.tcl b/tests/unit/type/list.tcl index b6055b266..6b128b726 100644 --- a/tests/unit/type/list.tcl +++ b/tests/unit/type/list.tcl @@ -55,13 +55,6 @@ start_server { assert_equal $largevalue(linkedlist) [r lindex mylist2 2] } - test {Variadic RPUSH/LPUSH} { - r del mylist - assert_equal 4 [r lpush mylist a b c d] - assert_equal 8 [r rpush mylist 0 1 2 3] - assert_equal {d c b a 0 1 2 3} [r lrange mylist 0 -1] - } - test {DEL a list - ziplist} { assert_equal 1 [r del myziplist2] assert_equal 0 [r exists myziplist2] @@ -149,15 +142,6 @@ start_server { } } - test "BLPOP with variadic LPUSH" { - set rd [redis_deferring_client] - r del blist target - $rd blpop blist 0 - assert_equal 2 [r lpush blist foo bar] - assert_equal {blist foo} [$rd read] - assert_equal bar [lindex [r lrange blist 0 -1] 0] - } - test "BRPOPLPUSH with zero timeout should block indefinitely" { set rd [redis_deferring_client] r del blist target |