From 85eca7d7b7e8106f2abf2e363f56a902b314f6d7 Mon Sep 17 00:00:00 2001 From: Ling Samuel Date: Wed, 13 Jan 2021 16:52:45 +0800 Subject: [PATCH] Increase functional test DockerEnv timeout Signed-off-by: Ling Samuel --- test/integration/functional_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/functional_test.go b/test/integration/functional_test.go index 1b4b0099066f..2342152524a2 100644 --- a/test/integration/functional_test.go +++ b/test/integration/functional_test.go @@ -161,7 +161,7 @@ func validateNodeLabels(ctx context.Context, t *testing.T, profile string) { // check functionality of minikube after evaling docker-env func validateDockerEnv(ctx context.Context, t *testing.T, profile string) { defer PostMortemLogs(t, profile) - mctx, cancel := context.WithTimeout(ctx, Seconds(30)) + mctx, cancel := context.WithTimeout(ctx, Seconds(120)) defer cancel() var rr *RunResult var err error @@ -183,7 +183,7 @@ func validateDockerEnv(ctx context.Context, t *testing.T, profile string) { t.Fatalf("expected status output to include 'Running' after eval docker-env but got: *%s*", rr.Output()) } - mctx, cancel = context.WithTimeout(ctx, Seconds(30)) + mctx, cancel = context.WithTimeout(ctx, Seconds(60)) defer cancel() // do a eval $(minikube -p profile docker-env) and check if we are point to docker inside minikube if runtime.GOOS == "windows" { // testing docker-env eval in powershell