Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bschimke95 committed Apr 3, 2024
1 parent 8d19faa commit 2483972
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/integration/test_k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 2483972

Please sign in to comment.