Skip to content

Commit

Permalink
fix: preheat-e2e timeout (#602)
Browse files Browse the repository at this point in the history
Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com>
  • Loading branch information
zzy987 authored Sep 3, 2021
1 parent 1186aef commit 2e3ade8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/manager/preheat.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ var _ = Describe("Preheat with manager", func() {
})

func waitForDone(preheat *types.Preheat, pod *e2eutil.PodExec) bool {
ticker := time.NewTicker(time.Second * 3)
ticker := time.NewTicker(3 * time.Second)
defer ticker.Stop()
ctx, cancel := context.WithTimeout(context.Background(), time.Minute*5)
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
for {
select {
Expand Down

0 comments on commit 2e3ade8

Please sign in to comment.