Commit 457c50d2 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #47679 from foxish/foxish-patch-3

Automatic merge from submit-queue (batch tested with PRs 47530, 47679) Fix failing CassandraStatefulSet test in examples suite Fix part of: https://github.com/kubernetes/kubernetes/issues/45677 ```release-note NONE ```
parents b6faf348 0afbc2fa
...@@ -265,7 +265,7 @@ var _ = framework.KubeDescribe("[Feature:Example]", func() { ...@@ -265,7 +265,7 @@ var _ = framework.KubeDescribe("[Feature:Example]", func() {
framework.KubeDescribe("CassandraStatefulSet", func() { framework.KubeDescribe("CassandraStatefulSet", func() {
It("should create statefulset", func() { It("should create statefulset", func() {
mkpath := func(file string) string { mkpath := func(file string) string {
return filepath.Join("examples/storage/cassandra", file) return filepath.Join(framework.TestContext.RepoRoot, "examples/storage/cassandra", file)
} }
serviceYaml := mkpath("cassandra-service.yaml") serviceYaml := mkpath("cassandra-service.yaml")
nsFlag := fmt.Sprintf("--namespace=%v", ns) nsFlag := fmt.Sprintf("--namespace=%v", ns)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment