From f7baa9c1e9e4c865b0e82bd8f86638b503934c10 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 27 Oct 2020 11:56:22 -0700 Subject: [PATCH] maybe this will work --- test/integration/functional_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/functional_test.go b/test/integration/functional_test.go index 16c2170e8a..3bf07677bd 100644 --- a/test/integration/functional_test.go +++ b/test/integration/functional_test.go @@ -328,7 +328,7 @@ func validateMinikubeKubectlDirectCall(ctx context.Context, t *testing.T, profil } defer os.Remove(dstfn) // clean up - kubectlArgs := []string{"--context", profile, "get", "pods"} + kubectlArgs := []string{"--", "--context", profile, "get", "pods"} rr, err := Run(t, exec.CommandContext(ctx, dstfn, kubectlArgs...)) if err != nil { t.Fatalf("failed to run kubectl directly. args %q: %v", rr.Command(), err)