Skip to content

Commit f3d1caa

Browse files
committed
Log CloudFormation stack failure in e2e tests
1 parent c50ba26 commit f3d1caa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/e2e/shared/suite.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ func Node1BeforeSuite(e2eCtx *E2EContext) []byte {
140140
By(fmt.Sprintf("Trying to create CloudFormation stack... attempt %d", count))
141141
success := true
142142
if err := createCloudFormationStack(e2eCtx.AWSSession, bootstrapTemplate, bootstrapTags); err != nil {
143+
By(fmt.Sprintf("Failed to create CloudFormation stack in attempt %d: %s", count, err.Error()))
143144
deleteCloudFormationStack(e2eCtx.AWSSession, bootstrapTemplate)
144145
success = false
145146
}

0 commit comments

Comments
 (0)