check-patroni/tests
Denis Laxalde 34f576ea0f Turn --use-old-replica-state into a parametrized fixture
Instead of requiring the user to run the test suite with and without the
--use-old-replica-state flag, we introduce an 'old_replica_state()'
parametrized fixture that is used only when needed (i.e. in
test_cluster_{has_replica,node_count}.py).
2023-10-06 10:33:04 +02:00
..
json Add a node_is_leader service to check for the leader states 2023-08-23 18:22:49 +02:00
__init__.py Use isort to automatically sort imports 2023-03-20 14:56:11 +01:00
conftest.py Turn --use-old-replica-state into a parametrized fixture 2023-10-06 10:33:04 +02:00
test_api.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_cluster_config_has_changed.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_cluster_has_leader.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_cluster_has_replica.py Turn --use-old-replica-state into a parametrized fixture 2023-10-06 10:33:04 +02:00
test_cluster_has_scheduled_action.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_cluster_is_in_maintenance.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_cluster_node_count.py Turn --use-old-replica-state into a parametrized fixture 2023-10-06 10:33:04 +02:00
test_node_is_alive.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_is_leader.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_is_pending_restart.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_is_primary.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_is_replica.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_patroni_version.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_tl_has_changed.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
tools.py Turn --use-old-replica-state into a parametrized fixture 2023-10-06 10:33:04 +02:00