diff --git a/pkg/executioncluster/impl/random_cluster_selector_test.go b/pkg/executioncluster/impl/random_cluster_selector_test.go index 04b47ec1a..d3559a35e 100644 --- a/pkg/executioncluster/impl/random_cluster_selector_test.go +++ b/pkg/executioncluster/impl/random_cluster_selector_test.go @@ -36,7 +36,7 @@ func initTestConfig(fileName string) error { } configAccessor := viper.NewAccessor(config.Options{ - SearchPaths: []string{filepath.Join(pwd, "../testdata", fileName)}, + SearchPaths: []string{filepath.Join(pwd, "testdata", fileName)}, StrictMode: false, }) return configAccessor.UpdateConfig(context.Background()) diff --git a/pkg/executioncluster/testdata/clusters_config.yaml b/pkg/executioncluster/impl/testdata/clusters_config.yaml similarity index 100% rename from pkg/executioncluster/testdata/clusters_config.yaml rename to pkg/executioncluster/impl/testdata/clusters_config.yaml