benoit
259f04587b
Add a node_is_leader service to check for the leader states
...
It's possible to check for any kind of leader of specifically for a
standby leader.
2023-08-23 18:22:49 +02:00
benoit
8883d6bdc4
Add standby-leader as a valid leader type for cluster_has_leader
2023-08-23 18:22:49 +02:00
benoit
99bf1c5bb5
Add new service cluster_has_scheduled_action
2023-08-23 12:08:19 +02:00
benoit
d99faeba15
Add tests for the output of the script and support pre/post 3.0.4
...
* Change all replica status from `running` to `streaming`
* Add an option to pytest to change the state back to `running`
* Also tests the output of the script
* Add a quick test script for live clusters
2023-08-23 10:53:09 +02:00
benoit
77722f40c1
Fix liveness check
...
The liveness probe used to return something. It looks like it doesn't do
it anymore and it breaks the `node_is_alive` check.
Issue: #31
2023-08-21 15:13:22 +02:00
benoit
a01a535680
Add sync_standby as an acceptable state for a replica
2023-08-21 13:11:08 +02:00
benoit
8519416c11
Rename test to tests
2022-07-11 12:42:59 +02:00