Light, fluffy, and always free - The AWS Local Emulator alternative
test(redshift): wait for CloudFormation terminal status (#5898)
Andre Kuraita6e2a5921e1b
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.javaindex 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)