From aa2837f27ea4e889efaf49063264f370593aa8ec Mon Sep 17 00:00:00 2001 From: Koonwah Chen Date: Tue, 7 Aug 2018 17:10:55 -0700 Subject: [PATCH] fix yaml file path for test/e2e/network/example_cluster_dns.go --- test/e2e/network/example_cluster_dns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/network/example_cluster_dns.go b/test/e2e/network/example_cluster_dns.go index edf62976924..0db3fba8f1d 100644 --- a/test/e2e/network/example_cluster_dns.go +++ b/test/e2e/network/example_cluster_dns.go @@ -57,7 +57,7 @@ var _ = SIGDescribe("ClusterDns [Feature:Example]", func() { It("should create pod that uses dns", func() { mkpath := func(file string) string { - return filepath.Join(framework.TestContext.RepoRoot, "examples/cluster-dns", file) + return filepath.Join(os.Getenv("GOPATH"), "src/k8s.io/examples/staging/cluster-dns", file) } // contrary to the example, this test does not use contexts, for simplicity