From 08b6049de79ede38ddb46ad33ecbe92d787223c5 Mon Sep 17 00:00:00 2001 From: Jackson Price <59149601+jprice8@users.noreply.github.com> Date: Tue, 3 Nov 2026 14:36:52 -0600 Subject: [PATCH] test(eks): wait for replacement finalization before restart (#7443) Require ACTIVE with no replacement finalization pending before the registry-hosts test restarts the cluster, so the first node group finishes its replacement k3s container first. Signed-off-by: Andre Kurait Signed-off-by: Andre Kurait Signed-off-by: Jackson Price --- .../services/eks/EksRegistryHostsDockerIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/io/github/hectorvent/floci/services/eks/EksRegistryHostsDockerIntegrationTest.java b/src/test/java/io/github/hectorvent/floci/services/eks/EksRegistryHostsDockerIntegrationTest.java index 6c4bee546a..f6c22cc4c1 100644 --- a/src/test/java/io/github/hectorvent/floci/services/eks/EksRegistryHostsDockerIntegrationTest.java +++ b/src/test/java/io/github/hectorvent/floci/services/eks/EksRegistryHostsDockerIntegrationTest.java @@ -418,7 +418,7 @@ class EksRegistryHostsDockerIntegrationTest { long deadline = System.currentTimeMillis() + 60000; while (System.currentTimeMillis() < deadline) { Cluster c = eksService.describeCluster(cluster.getName()); - if (c.getStatus() == ClusterStatus.ACTIVE) { + if (c.getStatus() == ClusterStatus.ACTIVE && !c.isFinalizePending()) { return; } Thread.sleep(1000);