From d68ba8b944d43f998856dd622504ca66358bcdf5 Mon Sep 17 00:00:00 2001 From: zzy987 <67889264+zzy987@users.noreply.github.com> Date: Fri, 3 Sep 2021 18:31:57 +0800 Subject: [PATCH] fix: preheat-e2e timeout (#602) Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> --- test/e2e/manager/preheat.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/manager/preheat.go b/test/e2e/manager/preheat.go index a7ed36401..3ef7a4502 100644 --- a/test/e2e/manager/preheat.go +++ b/test/e2e/manager/preheat.go @@ -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 {