From a6e2a5921e1bdacbbc53e045eefef54481992256 Mon Sep 17 00:00:00 2001 From: Andre Kurait Date: Sun, 18 Oct 2026 20:03:48 -0500 Subject: [PATCH] test(redshift): wait for CloudFormation terminal status (#5898) Signed-off-by: Andre Kurait --- .../cloudformation/RedshiftClusterCfnIntegrationTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/io/github/hectorvent/floci/services/cloudformation/RedshiftClusterCfnIntegrationTest.java b/src/test/java/io/github/hectorvent/floci/services/cloudformation/RedshiftClusterCfnIntegrationTest.java index 71682fe480..a905212e5b 100644 --- a/src/test/java/io/github/hectorvent/floci/services/cloudformation/RedshiftClusterCfnIntegrationTest.java +++ b/src/test/java/io/github/hectorvent/floci/services/cloudformation/RedshiftClusterCfnIntegrationTest.java @@ -221,6 +221,8 @@ class RedshiftClusterCfnIntegrationTest { } private static String describeStacks(String stack, String expectedStatus) { + CfnStackWaits.StackState state = CfnStackWaits.awaitTerminal(stack, CFN_AUTH); + assertEquals(expectedStatus, state.status(), state.reason()); return given() .contentType("application/x-www-form-urlencoded") .header("Authorization", CFN_AUTH)