Skip to content

Commit cafa889

Browse files
Fix integration test by waiting 2 minutes for ebs update (#8561)
1 parent 1aaa48d commit cafa889

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

integration/tests/addons/addons_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,9 @@ var _ = Describe("(Integration) [EKS Addons test]", func() {
809809
By("removing all pod identity associations owned by the addon")
810810
clusterConfig.Addons[1].PodIdentityAssociations = &[]api.PodIdentityAssociation{}
811811
// Don't wait for aws-ebs-csi-driver add-on because it won't become healthy without iam perms now.
812-
Expect(makeUpdateAddonCMD("--timeout", "0")).To(RunSuccessfully())
812+
// Update add-on has a bug where we wait even if we don't pass in --wait.
813+
// We should fix that bug eventually then we can remove this timeout and fail condition.
814+
Expect(makeUpdateAddonCMD("--timeout", "2m")).NotTo(RunSuccessfully())
813815
assertAddonHasPodIDs(api.AWSEBSCSIDriverAddon, 0)
814816

815817
By("migrating an addon to pod identity using the utils command")

0 commit comments

Comments
 (0)