mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '2.6.x' into 2.7.x
This commit is contained in:
commit
f488db9e49
@ -23,6 +23,8 @@ import java.util.List;
|
|||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
import java.util.stream.Stream;
|
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.ParameterizedTest;
|
||||||
import org.junit.jupiter.params.provider.MethodSource;
|
import org.junit.jupiter.params.provider.MethodSource;
|
||||||
import org.testcontainers.containers.GenericContainer;
|
import org.testcontainers.containers.GenericContainer;
|
||||||
@ -50,6 +52,7 @@ class LoaderIntegrationTests {
|
|||||||
|
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
@MethodSource("javaRuntimes")
|
@MethodSource("javaRuntimes")
|
||||||
|
@EnabledForJreRange(max = JRE.JAVA_17)
|
||||||
void readUrlsWithoutWarning(JavaRuntime javaRuntime) {
|
void readUrlsWithoutWarning(JavaRuntime javaRuntime) {
|
||||||
try (GenericContainer<?> container = createContainer(javaRuntime)) {
|
try (GenericContainer<?> container = createContainer(javaRuntime)) {
|
||||||
container.start();
|
container.start();
|
||||||
|
Loading…
Reference in New Issue
Block a user