Skip to content

Commit c8fae4b

Browse files
authored
[Tests] Remove tests to fix build with JDK<17 (#124702)
This PR removes test-cluster tests added in #124661 Subproject `:test:test-cluster` uses Java 17 source API so it is compiled with this version. If the tests are run with Java <16 they would fail. We want to keep the test-cluster code with Java 17 and the value of these tests are low so they have been removed. They will be kept on the newer branches.
1 parent 2a8c113 commit c8fae4b

File tree

2 files changed

+0
-79
lines changed

2 files changed

+0
-79
lines changed

test/test-clusters/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ dependencies {
88
shadow "org.apache.logging.log4j:log4j-api:${versions.log4j}"
99

1010
implementation files("$rootDir/build-tools/reaper/build/libs/reaper.jar")
11-
12-
testImplementation "junit:junit:${versions.junit}"
13-
testImplementation "org.hamcrest:hamcrest:${versions.hamcrest}"
14-
testImplementation "org.apache.logging.log4j:log4j-core:${versions.log4j}"
1511
}
1612

1713
// We use updated APIs here and since this project is only used for REST testing it's ok to run with > Java 8

test/test-clusters/src/test/java/org/elasticsearch/test/cluster/util/IOUtilsTests.java

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)