From 1d9ad71e7f0abcaafac847f398a7f34ca33737a8 Mon Sep 17 00:00:00 2001 From: Hiroki Mizuma Date: Fri, 23 Oct 2020 14:37:11 -0700 Subject: [PATCH] Increase clusterloader test timeout from 20 min to 120 min. This will be configurable in the future. --- eks/cluster-loader/cluster-loader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eks/cluster-loader/cluster-loader.go b/eks/cluster-loader/cluster-loader.go index f35aeb2fa..be3352c60 100644 --- a/eks/cluster-loader/cluster-loader.go +++ b/eks/cluster-loader/cluster-loader.go @@ -537,7 +537,7 @@ ENABLE_SYSTEM_POD_METRICS: {{ .EnableSystemPodMetrics }} // takes about 2-minute func (ld *loader) run(idx int, args []string) (err error) { ld.cfg.Logger.Info("running cluster loader", zap.Int("index", idx), zap.String("command", strings.Join(args, " "))) - ctx, cancel := context.WithTimeout(ld.rootCtx, 20*time.Minute) + ctx, cancel := context.WithTimeout(ld.rootCtx, 120*time.Minute) cmd := exec.New().CommandContext(ctx, args[0], args[1:]...) cmd.SetStderr(ld.testLogsFile) cmd.SetStdout(ld.testLogsFile)