Skip to content

Commit

Permalink
Disable LoaderIntegrationTests when all runtimes are incompatible
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Mar 9, 2022
1 parent abcc246 commit a58cd05
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -23,6 +23,8 @@
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;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit a58cd05

Please sign in to comment.