From e6478cfd10ae5ce8312c49823142d4dfcf0f45bb Mon Sep 17 00:00:00 2001 From: YaacovHazan <31382944+YaacovHazan@users.noreply.github.com> Date: Mon, 14 Feb 2022 08:46:58 +0200 Subject: [PATCH] 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. --- tests/integration/replication.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]