Skip to content

Commit d6f9d3a

Browse files
committed
PromQL: Disable GenerativeFork for PromQL
1 parent cf2a9ac commit d6f9d3a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ protected void shouldSkipTest(String testName) throws IOException {
6060
testCase.requiredCapabilities.contains(SUBQUERY_IN_FROM_COMMAND.capabilityName())
6161
);
6262

63+
assumeFalse(
64+
"Tests using PROMQL are not supported for now",
65+
testCase.requiredCapabilities.contains(PROMQL_V0.capabilityName())
66+
);
67+
6368
assumeTrue("Cluster needs to support FORK", hasCapabilities(adminClient(), List.of(FORK_V9.capabilityName())));
6469
}
6570
}

0 commit comments

Comments
 (0)