diff options
author | YaacovHazan <31382944+YaacovHazan@users.noreply.github.com> | 2022-02-14 08:46:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 08:46:58 +0200 |
commit | e6478cfd10ae5ce8312c49823142d4dfcf0f45bb (patch) | |
tree | 92678e4ad35eabe24956c990dc109548316713b9 /tests/integration | |
parent | b099889a3a6dccf5243135f0611b8cdb11cab7b8 (diff) | |
download | redis-e6478cfd10ae5ce8312c49823142d4dfcf0f45bb.tar.gz |
fix "Connect multiple replicas at the same time" test (#10294)
In order to make sure no more commands processed, we wait that
the 'load handlers' will disconncet.
The test by mistake waited on the (last) slave instead of the master.
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/replication.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl index 3ad011185..05f62d5e8 100644 --- a/tests/integration/replication.tcl +++ b/tests/integration/replication.tcl @@ -318,7 +318,7 @@ foreach mdl {no yes} { stop_write_load $load_handle4 # Make sure no more commands processed - wait_load_handlers_disconnected + wait_load_handlers_disconnected -3 wait_for_ofs_sync $master [lindex $slaves 0] wait_for_ofs_sync $master [lindex $slaves 1] |