mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 00:20:50 +00:00
Test: avoid false positives in CLIENT SETNAME closed connection test.
This commit is contained in:
parent
7f9bc42f17
commit
ac8c89cb20
@ -50,6 +50,10 @@ start_server {tags {"introspection"}} {
|
|||||||
assert_match {*foobar*} [r client list]
|
assert_match {*foobar*} [r client list]
|
||||||
$rd close
|
$rd close
|
||||||
# Now the client should no longer be listed
|
# Now the client should no longer be listed
|
||||||
string match {*foobar*} [r client list]
|
wait_for_condition 50 100 {
|
||||||
} {0}
|
[string match {*foobar*} [r client list]] == 0
|
||||||
|
} else {
|
||||||
|
fail "Client still listed in CLIENT LIST after SETNAME."
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user