Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qzd authored and patpatbear committed Aug 2, 2024
1 parent f081a10 commit 1348405
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/swap/unit/client.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ start_server {tags "clients"} {
}

set r [redis $host $port]
wait_for_condition 10 100 {
[llength [regexp -inline -all {name=LOAD_HANDLER} [$r client list]]] == $load
} else {
fail "start client too slow"
while {1} {
if {[llength [regexp -inline -all {name=LOAD_HANDLER} [$r client list]]] == $load} {
break
}
}
$r client kill type normal

Expand Down

0 comments on commit 1348405

Please sign in to comment.