Skip to content

Commit a7f7157

Browse files
committed
Skip rerank tests in mixed clusters
1 parent 20eb590 commit a7f7157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/EsqlSpecTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public final void test() throws Throwable {
177177
}
178178

179179
protected void shouldSkipTest(String testName) throws IOException {
180-
if (testCase.requiredCapabilities.contains("semantic_text_field_caps")) {
180+
if (testCase.requiredCapabilities.contains("semantic_text_field_caps") || testCase.requiredCapabilities.contains("rerank")) {
181181
assumeTrue("Inference test service needs to be supported for semantic_text", supportsInferenceTestService());
182182
}
183183
checkCapabilities(adminClient(), testFeatureService, testName, testCase);

0 commit comments

Comments
 (0)