diff --git a/tests/integration/dual-channel-replication.tcl b/tests/integration/dual-channel-replication.tcl index 98036819ea..e8d726c778 100644 --- a/tests/integration/dual-channel-replication.tcl +++ b/tests/integration/dual-channel-replication.tcl @@ -358,12 +358,12 @@ start_server {tags {"dual-channel-replication external:skip"}} { assert {[s -2 replicas_replication_buffer_size] <= 16385*2} # Wait for sync to succeed - wait_for_value_to_propegate_to_replica $primary $replica1 "key4" wait_for_condition 50 1000 { [status $replica1 master_link_status] == "up" } else { fail "Replica is not synced" } + wait_for_value_to_propegate_to_replica $primary $replica1 "key4" } $replica1 replicaof no one @@ -1107,7 +1107,5 @@ start_server {tags {"dual-channel-replication external:skip"}} { fail "Replica offset didn't catch up with the primary after too long time" } } - - } -} \ No newline at end of file +}