mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 07:11:11 -05:00
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 <akurait@amazon.com> Signed-off-by: Andre Kurait <AndreKurait@gmail.com> Signed-off-by: Jackson Price <jxnprice@amazon.com>
This commit is contained in:
1 parent
9c2a2c2a02
commit
08b6049de7
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user