From 6479015caf8e4119825561285fea3fb7365bb7cb Mon Sep 17 00:00:00 2001 From: Margo Crawford Date: Thu, 13 May 2021 10:23:44 -0700 Subject: [PATCH] Remove timeout so this test doesnt take forever --- test/integration/e2e_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/integration/e2e_test.go b/test/integration/e2e_test.go index f624b01e..be1220d6 100644 --- a/test/integration/e2e_test.go +++ b/test/integration/e2e_test.go @@ -264,8 +264,6 @@ func TestE2EFullIntegration(t *testing.T) { t.Logf("first kubectl command took %s", time.Since(start).String()) // Run kubectl again, which should work with no browser interaction. - t.Logf("Waiting 6 minutes to allow access token to expire") - time.Sleep(6 * time.Minute) kubectlCmd2 := exec.CommandContext(ctx, "kubectl", "get", "namespace", "--kubeconfig", kubeconfigPath) kubectlCmd2.Env = append(os.Environ(), env.ProxyEnv()...) start = time.Now()