diff --git a/test/integration/addons_test.go b/test/integration/addons_test.go index d03270e685ed..682cffdc2f2c 100644 --- a/test/integration/addons_test.go +++ b/test/integration/addons_test.go @@ -136,12 +136,12 @@ func testIngressController(t *testing.T) { if err != nil { t.Errorf("Error getting the file path for current directory: %s", curdir) } - ingressPath := path.Join(curdir, "testdata/nginx-ing.yaml") + ingressPath := path.Join(curdir, "testdata", "nginx-ing.yaml") if _, err := kubectlRunner.RunCommand([]string{"create", "-f", ingressPath}); err != nil { t.Fatalf("creating nginx ingress resource: %v", err) } - podPath := path.Join(curdir, "testdata/nginx-pod-svc.yaml") + podPath := path.Join(curdir, "testdata", "nginx-pod-svc.yaml") if _, err := kubectlRunner.RunCommand([]string{"create", "-f", podPath}); err != nil { t.Fatalf("creating nginx ingress resource: %v", err) } @@ -270,7 +270,7 @@ func deleteUntrustedWorkload(t *testing.T) { if err != nil { t.Errorf("Error getting the file path for current directory: %s", curdir) } - untrustedPath := path.Join(curdir, "testdata", "/nginx-untrusted.yaml") + untrustedPath := path.Join(curdir, "testdata", "nginx-untrusted.yaml") if _, err := kubectlRunner.RunCommand([]string{"delete", "-f", untrustedPath}); err != nil { t.Logf("error deleting untrusted nginx resource: %v", err) }