mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Regression for a crash with blocking ops and pipelining
This commit is contained in:
parent
47cadab42b
commit
4bb1ccc6eb
@ -60,3 +60,19 @@ start_server {tags {"protocol"}} {
|
||||
assert_error "*wrong*arguments*ping*" {r ping x y z}
|
||||
}
|
||||
}
|
||||
|
||||
start_server {tags {"regression"}} {
|
||||
test "Regression for a crash with blocking ops and pipelining" {
|
||||
set rd [redis_deferring_client]
|
||||
set fd [r channel]
|
||||
set proto "*3\r\n\$5\r\nBLPOP\r\n\$6\r\nnolist\r\n\$1\r\n0\r\n"
|
||||
puts -nonewline $fd $proto$proto
|
||||
flush $fd
|
||||
set res {}
|
||||
|
||||
$rd rpush nolist a
|
||||
$rd read
|
||||
$rd rpush nolist a
|
||||
$rd read
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user