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
7551e237
Commit
7551e237
authored
Sep 12, 2011
by
antirez
Browse files
regression test for bug 593 added
parent
48082cc0
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/unit/type/list.tcl
View file @
7551e237
...
...
@@ -728,4 +728,18 @@ start_server {
assert_equal 3
[
r llen myotherlist
]
}
}
test
"Regression for bug 593 - chaining BRPOPLPUSH with other blocking cmds"
{
set rd1
[
redis_deferring_client
]
set rd2
[
redis_deferring_client
]
$rd1 brpoplpush a b 0
$rd1 brpoplpush a b 0
$rd2 brpoplpush b c 0
after 1000
r lpush a data
$rd1 close
$rd2 close
r ping
}
{
PONG
}
}
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