mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +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() {
|
||||
It("should create statefulset", func() {
|
||||
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")
|
||||
nsFlag := fmt.Sprintf("--namespace=%v", ns)
|
||||
|
Loading…
Reference in New Issue
Block a user