Skip to content

Commit 88d13da

Browse files
committed
Update RRF YAML tests to use default distribution
1 parent d2138e9 commit 88d13da

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

x-pack/plugin/rank-rrf/src/yamlRestTest/java/org/elasticsearch/xpack/rank/rrf/RRFRankClientYamlTestSuiteIT.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
1212

1313
import org.elasticsearch.test.cluster.ElasticsearchCluster;
14+
import org.elasticsearch.test.cluster.local.distribution.DistributionType;
1415
import org.elasticsearch.test.rest.yaml.ClientYamlTestCandidate;
1516
import org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase;
1617
import org.junit.ClassRule;
@@ -25,8 +26,12 @@ public class RRFRankClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
2526
.module("rank-rrf")
2627
.module("lang-painless")
2728
.module("x-pack-inference")
29+
.systemProperty("tests.seed", System.getProperty("tests.seed"))
30+
.setting("xpack.security.enabled", "false")
31+
.setting("xpack.security.http.ssl.enabled", "false")
2832
.setting("xpack.license.self_generated.type", "trial")
2933
.plugin("inference-service-test")
34+
.distribution(DistributionType.DEFAULT)
3035
.build();
3136

3237
public RRFRankClientYamlTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {

0 commit comments

Comments
 (0)