From 1ec0cb14493c7e9ffe0afbffab8c2c2b24cc95b7 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Tue, 14 Jul 2020 14:47:52 -0700 Subject: [PATCH] eks: increase fargate test timeouts Signed-off-by: Gyuho Lee --- eks/fargate/fargate.go | 2 +- eks/irsa-fargate/irsa-fargate.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eks/fargate/fargate.go b/eks/fargate/fargate.go index 8020549ab..18b90cc5e 100644 --- a/eks/fargate/fargate.go +++ b/eks/fargate/fargate.go @@ -698,7 +698,7 @@ func (ts *tester) checkPod() error { ) succeeded := false - retryStart, waitDur := time.Now(), 3*time.Minute + retryStart, waitDur := time.Now(), 10*time.Minute for time.Now().Sub(retryStart) < waitDur { select { case <-ts.cfg.Stopc: diff --git a/eks/irsa-fargate/irsa-fargate.go b/eks/irsa-fargate/irsa-fargate.go index ced81a060..5cd27bdfa 100644 --- a/eks/irsa-fargate/irsa-fargate.go +++ b/eks/irsa-fargate/irsa-fargate.go @@ -1044,7 +1044,7 @@ func (ts *tester) checkResults() (err error) { ts.cfg.Logger.Info("checking results") ready := false - waitDur := 7*time.Minute + time.Duration(ts.cfg.EKSConfig.AddOnIRSA.DeploymentReplicas)*3*time.Second + waitDur := 10 * time.Minute retryStart := time.Now() for time.Now().Sub(retryStart) < waitDur { select {