fix yaml file path for test/e2e/network/example_cluster_dns.go

This commit is contained in:
Koonwah Chen 2018-08-07 17:10:55 -07:00
parent 32cf28f642
commit aa2837f27e

View File

@ -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