Skip to content

Commit

Permalink
test documentation fix
Browse files Browse the repository at this point in the history
Signed-off-by: naglera <[email protected]>
  • Loading branch information
naglera committed Jul 21, 2024
1 parent abea73c commit 370e883
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/dual-channel-replication.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -677,14 +677,14 @@ start_server {tags {"dual-channel-replication external:skip"}} {
$replica config set repl-timeout 10

test "Test dual-channel-replication primary gets cob overrun before established psync" {
# Stop primary main process after fork for 1 seconds
# Pause primary main process after fork
$primary debug pause-after-fork 1
$replica replicaof $primary_host $primary_port
wait_for_log_messages 0 {"*Done loading RDB*"} 0 2000 1

# At this point rdb is loaded but psync hasn't been established yet.
# Force the replica to sleep for 5 seconds so the primary main process will wake up while the
# replica is unresponsive. We expect the main process to fill the COB before the replica wakes.
# Pause the replica so the primary main process will wake up while the
# replica is unresponsive. We expect the main process to fill the COB and disconnect the replica.
pause_process $replica_pid
resume_process $primary_pid
$primary debug pause-after-fork 0
Expand Down

0 comments on commit 370e883

Please sign in to comment.