Merge pull request #67105 from cadmuxe/fix_example_test

fix yaml file path for test/e2e/network/example_cluster_dns.go
This commit is contained in:
k8s-ci-robot 2018-09-24 13:19:21 -07:00 committed by GitHub
commit 73942d8b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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