Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b5656701
Commit
b5656701
authored
Aug 09, 2011
by
antirez
Browse files
Merge remote-tracking branch 'origin/unstable' into unstable
parents
11aaf523
f65c8f65
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/unit/protocol.tcl
View file @
b5656701
...
...
@@ -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\n
BLPOP
\r\n\$
6
\r\n
nolist
\r\n\$
1
\r\n
0
\r\n
"
puts -nonewline $fd $proto$proto
flush $fd
set res
{}
$rd rpush nolist a
$rd read
$rd rpush nolist a
$rd read
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment