mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
13 lines
413 B
Gherkin
13 lines
413 B
Gherkin
Feature: basic failover
|
|
In order to check that failover works
|
|
As observers
|
|
We start the primary and the replica,
|
|
shut down the primary
|
|
and check that the replica assumed the primary role.
|
|
|
|
Scenario: check the basic failover
|
|
Given basic replication
|
|
When I shut down postgres0
|
|
Then postgres1 role is the primary after 10 seconds
|
|
When I start postgres0
|
|
Then postgres0 role is the secondary after 10 seconds |