Skip to content

Commit c4ad146

Browse files
committed
fix check
1 parent 6b70101 commit c4ad146

File tree

1 file changed

+4
-1
lines changed
  • x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq

1 file changed

+4
-1
lines changed

x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq/MultiClusterSpecIT.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,10 @@ protected void shouldSkipTest(String testName) throws IOException {
148148
assumeFalse("UNMAPPED FIELDS not yet supported in CCS", testCase.requiredCapabilities.contains(UNMAPPED_FIELDS.capabilityName()));
149149
assumeFalse("FORK not yet supported in CCS", testCase.requiredCapabilities.contains(FORK_V9.capabilityName()));
150150
// Tests that use capabilities not supported in CCS
151-
assumeFalse("LOOKUP JOIN after stats not yet supported in CCS", LOOKUP_JOIN_AFTER_STATS_TESTS.contains(testName));
151+
assumeFalse(
152+
"LOOKUP JOIN after stats not yet supported in CCS",
153+
LOOKUP_JOIN_AFTER_STATS_TESTS.stream().anyMatch(testName::contains)
154+
);
152155
}
153156

154157
@Override

0 commit comments

Comments
 (0)