Remove timeout so this test doesnt take forever

This commit is contained in:
Margo Crawford 2021-05-13 10:23:44 -07:00
parent b391d5ae02
commit 6479015caf
1 changed files with 0 additions and 2 deletions

View File

@ -264,8 +264,6 @@ func TestE2EFullIntegration(t *testing.T) {
t.Logf("first kubectl command took %s", time.Since(start).String()) t.Logf("first kubectl command took %s", time.Since(start).String())
// Run kubectl again, which should work with no browser interaction. // 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 := exec.CommandContext(ctx, "kubectl", "get", "namespace", "--kubeconfig", kubeconfigPath)
kubectlCmd2.Env = append(os.Environ(), env.ProxyEnv()...) kubectlCmd2.Env = append(os.Environ(), env.ProxyEnv()...)
start = time.Now() start = time.Now()