Fix failing test in examples suite

This commit is contained in:
Anirudh Ramanathan 2017-06-16 15:23:32 -07:00 committed by GitHub
parent cd08baa2c7
commit 0afbc2faac

View File

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