mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
Fix failing test in examples suite
This commit is contained in:
parent
cd08baa2c7
commit
0afbc2faac
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user