Skip to content

Commit

Permalink
Increase clusterloader test timeout from 20 min to 120 min. This will…
Browse files Browse the repository at this point in the history
… be configurable in the future. (#181)
  • Loading branch information
randomcoww authored Oct 24, 2020
1 parent 4f71030 commit b7ae42a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eks/cluster-loader/cluster-loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b7ae42a

Please sign in to comment.