Skip to content

Commit

Permalink
Fix flaky test in failover2
Browse files Browse the repository at this point in the history
Signed-off-by: Seungmin Lee <[email protected]>
  • Loading branch information
Seungmin Lee committed Jan 30, 2025
1 parent 12ec3d5 commit 3ac9049
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/cluster/failover2.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ start_cluster 7 3 {tags {external:skip cluster} overrides {cluster-ping-interval
verify_no_log_message -8 "*Failover election in progress for epoch 0*" 0
verify_no_log_message -9 "*Failover election in progress for epoch 0*" 0

# Make sure there is no failover timeout.
verify_no_log_message -7 "*Failover attempt expired*" 0
verify_no_log_message -8 "*Failover attempt expired*" 0
verify_no_log_message -9 "*Failover attempt expired*" 0
# Make sure replicas are elected.
verify_log_message -7 "*Failover election won: I'm the new primary*" 0
verify_log_message -8 "*Failover election won: I'm the new primary*" 0
verify_log_message -9 "*Failover election won: I'm the new primary*" 0

# Resuming these primary nodes, speed up the shutdown.
resume_process [srv 0 pid]
Expand Down

0 comments on commit 3ac9049

Please sign in to comment.