Skip to content

Commit d899cdc

Browse files
committed
Actually we need both checks
1 parent 5caebed commit d899cdc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ private static boolean checkVersion(org.elasticsearch.Version version) {
158158

159159
public void testIndicesDontExistWithRemoteLookupJoin() throws IOException {
160160
assumeTrue("Only works with remote LOOKUP JOIN support", EsqlCapabilities.Cap.ENABLE_LOOKUP_JOIN_ON_REMOTE.isEnabled());
161+
// This check is for "local" cluster - which is different from test runner actually, so it could be old
162+
assumeTrue("Only works with remote LOOKUP JOIN support", Clusters.localClusterVersion().onOrAfter(Version.fromString("9.2.0")));
161163

162164
int docsTest1 = randomIntBetween(1, 5);
163165
indexTimestampData(docsTest1, "test1", "2024-11-26", "id1");

0 commit comments

Comments
 (0)