summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorYaacovHazan <31382944+YaacovHazan@users.noreply.github.com>2022-02-14 08:46:58 +0200
committerGitHub <noreply@github.com>2022-02-14 08:46:58 +0200
commite6478cfd10ae5ce8312c49823142d4dfcf0f45bb (patch)
tree92678e4ad35eabe24956c990dc109548316713b9 /tests/integration
parentb099889a3a6dccf5243135f0611b8cdb11cab7b8 (diff)
downloadredis-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.tcl2
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]