From 2483972f52db1b343d5ef84a5bfb1a38306ec631 Mon Sep 17 00:00:00 2001 From: Benjamin Schimke Date: Wed, 3 Apr 2024 13:10:43 +0200 Subject: [PATCH] address comments --- tests/integration/test_k8s.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/integration/test_k8s.py b/tests/integration/test_k8s.py index d95f8717..8e2e74aa 100644 --- a/tests/integration/test_k8s.py +++ b/tests/integration/test_k8s.py @@ -147,22 +147,18 @@ async def test_remove_non_leader_control_planes(kubernetes_cluster: model.Model) await ready_nodes(leader, expected_nodes) # Remove both non-leading control-planes (Replicate issue #277) - log.info("Remove unit %s", follower.name) + log.info("Remove unit %s", followers[0].name) await followers[0].destroy() await kubernetes_cluster.wait_for_idle(status="active", timeout=5 * 60) await ready_nodes(leader, expected_nodes - 1) - log.info("Remove unit %s", follower2.name) + log.info("Remove unit %s", followers[1].name) await follower[1].destroy() await kubernetes_cluster.wait_for_idle(status="active", timeout=5 * 60) await ready_nodes(leader, expected_nodes - 2) await k8s.add_unit(count=2) await kubernetes_cluster.wait_for_idle(status="active", timeout=5 * 60) - await ready_nodes(leader, expected_nodes - 1) - - await k8s.add_unit() - await kubernetes_cluster.wait_for_idle(status="active", timeout=5 * 60) await ready_nodes(leader, expected_nodes)