Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WithSoull committed Feb 7, 2025
1 parent dbd5aec commit c307dad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/features/manager_switchover.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Feature: manager swithover
Scenario: manager loss quorum than release lock
Given cluster environment is
"""
MANAGER_ELECTION_DELAY_AFTER_QUORUM_LOSS=30s
MANAGER_LOCK_ACQUIRE_DELAY_AFTER_QUORUM_LOSS=60s
MANAGER_ELECTION_DELAY_AFTER_QUORUM_LOSS=180s
MANAGER_LOCK_ACQUIRE_DELAY_AFTER_QUORUM_LOSS=180s
"""
And cluster is up and running

Expand All @@ -22,13 +22,13 @@ Feature: manager swithover
Then mysql host "{{.manager.hostname}}" should be replica of "{{.master}}"

When host "{{.manager.hostname}}" is detached from the network
Then mysql host "{{.manager.hostname}}" should become unavailable within "1" seconds
Then mysql host "{{.manager.hostname}}" should become unavailable within "10" seconds

Then zookeeper node "/test/manager" should match regexp within "20" seconds
Then zookeeper node "/test/manager" should match regexp within "30" seconds
"""
.*{{.manager.hostname}}.*
"""
Then zookeeper node "/test/manager" should not match regexp within "90" seconds
Then zookeeper node "/test/manager" should not match regexp within "300" seconds
"""
.*{{.manager.hostname}}.*
"""

0 comments on commit c307dad

Please sign in to comment.