Skip to content

Commit f2b146e

Browse files
authored
ESQL: Fix test muting (#115448) (#115466)
Fix the test muting on the test for grapheme clusters - it should only allow the test if we're on the 20+ jvm. Closes #114536
1 parent 0fc0922 commit f2b146e

File tree

1 file changed

+4
-0
lines changed
  • x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql

1 file changed

+4
-0
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/CsvTests.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ public final void test() throws Throwable {
259259
testCase.requiredCapabilities,
260260
everyItem(in(EsqlCapabilities.capabilities(true)))
261261
);
262+
assumeTrue(
263+
"Capability not supported in this build",
264+
EsqlCapabilities.capabilities(false).containsAll(testCase.requiredCapabilities)
265+
);
262266
} else {
263267
for (EsqlCapabilities.Cap c : EsqlCapabilities.Cap.values()) {
264268
if (false == c.isEnabled()) {

0 commit comments

Comments
 (0)