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
ac8c89cb
Commit
ac8c89cb
authored
Feb 12, 2013
by
antirez
Browse files
Test: avoid false positives in CLIENT SETNAME closed connection test.
parent
7f9bc42f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/introspection.tcl
View file @
ac8c89cb
...
...
@@ -50,6 +50,10 @@ start_server {tags {"introspection"}} {
assert_match
{
*foobar*
}
[
r client list
]
$rd close
# Now the client should no longer be listed
string match
{
*foobar*
}
[
r client list
]
}
{
0
}
wait_for_condition 50 100
{
[
string match
{
*foobar*
}
[
r client list
]]
== 0
}
else
{
fail
"Client still listed in CLIENT LIST after SETNAME."
}
}
}
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