We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3fac55 + 9552a81 commit 69c97b0Copy full SHA for 69c97b0
test/e2e/shared/aws.go
@@ -450,7 +450,7 @@ func deleteResourcesInCloudFormation(prov client.ConfigProvider, t *cfn_bootstra
450
role := val.(*cfn_iam.Role)
451
Eventually(func(gomega Gomega) bool {
452
_, err := iamSvc.DeleteRole(&iam.DeleteRoleInput{RoleName: aws.String(role.RoleName)})
453
- return awserrors.IsNotFound(err) || err != nil
+ return awserrors.IsNotFound(err) || err == nil
454
}, 5*time.Minute, 5*time.Second).Should(BeTrue())
455
}
456
if val.AWSCloudFormationType() == "AWS::IAM::InstanceProfile" {
0 commit comments