Skip to content

Commit e6478cf

Browse files
authored
fix "Connect multiple replicas at the same time" test (redis#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.
1 parent b099889 commit e6478cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/replication.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ foreach mdl {no yes} {
318318
stop_write_load $load_handle4
319319

320320
# Make sure no more commands processed
321-
wait_load_handlers_disconnected
321+
wait_load_handlers_disconnected -3
322322

323323
wait_for_ofs_sync $master [lindex $slaves 0]
324324
wait_for_ofs_sync $master [lindex $slaves 1]

0 commit comments

Comments
 (0)