From 697e5552965dc8279dcf06c5e31540c32f930cde Mon Sep 17 00:00:00 2001 From: Damiano Donati Date: Fri, 15 Nov 2024 11:46:47 +0100 Subject: [PATCH] increase wait-addon-status timeout --- test/e2e/data/e2e_eks_conf.yaml | 2 +- test/e2e/suites/managed/addon.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/data/e2e_eks_conf.yaml b/test/e2e/data/e2e_eks_conf.yaml index 46ef207093..2f5d712408 100644 --- a/test/e2e/data/e2e_eks_conf.yaml +++ b/test/e2e/data/e2e_eks_conf.yaml @@ -149,7 +149,7 @@ intervals: default/wait-machine-status: ["20m", "10s"] default/wait-infra-subnets: ["5m", "30s"] default/wait-control-plane-upgrade: ["35m", "30s"] - default/wait-addon-status: ["30m", "30s"] + default/wait-addon-status: ["40m", "30s"] default/wait-create-identity: ["1m", "10s"] default/wait-deployment-ready: ["5m", "10s"] default/wait-loadbalancer-ready: ["5m", "30s"] diff --git a/test/e2e/suites/managed/addon.go b/test/e2e/suites/managed/addon.go index fb243f0406..2aa2a44463 100644 --- a/test/e2e/suites/managed/addon.go +++ b/test/e2e/suites/managed/addon.go @@ -65,7 +65,7 @@ func CheckAddonExistsSpec(ctx context.Context, inputGetter func() CheckAddonExis controlPlane := &ekscontrolplanev1.AWSManagedControlPlane{} Eventually(func() error { return mgmtClient.Get(ctx, crclient.ObjectKey{Namespace: input.Namespace.Name, Name: controlPlaneName}, controlPlane) - }, 2*time.Minute, 5*time.Second).Should(Succeed(), "eventually failed trying to get the AWSManagedControlPlane") + }, 20*time.Minute, 5*time.Second).Should(Succeed(), "eventually failed trying to get the AWSManagedControlPlane") By(fmt.Sprintf("Checking EKS addon %s is installed on cluster %s and is active", input.AddonName, input.ClusterName)) waitForEKSAddonToHaveStatus(waitForEKSAddonToHaveStatusInput{