Skip to content

Commit 074ec2f

Browse files
committed
Remove useless version check.
1 parent 75bbfe2 commit 074ec2f

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,14 @@ public static org.elasticsearch.Version bwcVersion() {
7777
}
7878

7979
public static boolean localClusterSupportsInferenceTestService() {
80-
return isNewToOld() && localClusterVersion().onOrAfter(org.elasticsearch.Version.fromString("9.3.0"));
80+
return isNewToOld();
8181
}
8282

8383
/**
8484
* Returns true if the current task is a "newToOld" BWC test.
8585
* Checks the tests.task system property to determine the task type.
8686
*/
87-
public static boolean isNewToOld() {
87+
private static boolean isNewToOld() {
8888
String taskName = System.getProperty("tests.task");
8989
if (taskName == null) {
9090
return false;

0 commit comments

Comments
 (0)