Disable LoaderIntegrationTests when all runtimes are incompatible

See gh-29524
pull/30505/head
Andy Wilkinson 3 years ago
parent abcc246a38
commit a58cd050e5

@ -23,6 +23,8 @@ import java.util.List;
import java.util.function.Supplier;
import java.util.stream.Stream;
import org.junit.jupiter.api.condition.EnabledForJreRange;
import org.junit.jupiter.api.condition.JRE;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import org.testcontainers.containers.GenericContainer;
@ -50,6 +52,7 @@ class LoaderIntegrationTests {
@ParameterizedTest
@MethodSource("javaRuntimes")
@EnabledForJreRange(max = JRE.JAVA_17)
void readUrlsWithoutWarning(JavaRuntime javaRuntime) {
try (GenericContainer<?> container = createContainer(javaRuntime)) {
container.start();

Loading…
Cancel
Save