test(redshift): wait for CloudFormation terminal status (#5898)

Signed-off-by: Andre Kurait <akurait@amazon.com>
This commit is contained in:
Andre Kurait authored and GitHub committed 2026-10-18 21:03:48 -04:00
1 parent 3b7782e583
commit a6e2a5921e
1 file changed
+2
@@ -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)