Unverified Commit e6478cfd authored by YaacovHazan's avatar YaacovHazan Committed by GitHub
Browse files

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.
parent b099889a
...@@ -318,7 +318,7 @@ foreach mdl {no yes} { ...@@ -318,7 +318,7 @@ foreach mdl {no yes} {
stop_write_load $load_handle4 stop_write_load $load_handle4
# Make sure no more commands processed # 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 0]
wait_for_ofs_sync $master [lindex $slaves 1] wait_for_ofs_sync $master [lindex $slaves 1]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment