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