|
|
@ -23,6 +23,7 @@ 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.OS;
|
|
|
|
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;
|
|
|
@ -33,6 +34,7 @@ import org.testcontainers.utility.DockerImageName;
|
|
|
|
import org.testcontainers.utility.MountableFile;
|
|
|
|
import org.testcontainers.utility.MountableFile;
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.system.JavaVersion;
|
|
|
|
import org.springframework.boot.system.JavaVersion;
|
|
|
|
|
|
|
|
import org.springframework.boot.testsupport.junit.DisabledOnOs;
|
|
|
|
import org.springframework.boot.testsupport.testcontainers.DisabledIfDockerUnavailable;
|
|
|
|
import org.springframework.boot.testsupport.testcontainers.DisabledIfDockerUnavailable;
|
|
|
|
import org.springframework.util.Assert;
|
|
|
|
import org.springframework.util.Assert;
|
|
|
|
|
|
|
|
|
|
|
@ -44,6 +46,8 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|
|
|
* @author Phillip Webb
|
|
|
|
* @author Phillip Webb
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@DisabledIfDockerUnavailable
|
|
|
|
@DisabledIfDockerUnavailable
|
|
|
|
|
|
|
|
@DisabledOnOs(os = { OS.LINUX, OS.MAC }, architecture = "aarch64",
|
|
|
|
|
|
|
|
disabledReason = "Not all docker images have ARM support")
|
|
|
|
class LoaderIntegrationTests {
|
|
|
|
class LoaderIntegrationTests {
|
|
|
|
|
|
|
|
|
|
|
|
private final ToStringConsumer output = new ToStringConsumer();
|
|
|
|
private final ToStringConsumer output = new ToStringConsumer();
|
|
|
|