This is an automated email from the ASF dual-hosted git repository. tallison pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tika.git
commit b1086baede3a79c3a0d19b47dbf2e2779e641fca Author: tallison <[email protected]> AuthorDate: Fri Oct 21 15:49:57 2022 -0400 add disableWithoutDocker to S3PipeIntegrationTest --- tika-integration-tests/tika-pipes-s3-integration-tests/pom.xml | 5 +++++ .../java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java | 2 ++ 2 files changed, 7 insertions(+) diff --git a/tika-integration-tests/tika-pipes-s3-integration-tests/pom.xml b/tika-integration-tests/tika-pipes-s3-integration-tests/pom.xml index 414619fa6..8b72547de 100644 --- a/tika-integration-tests/tika-pipes-s3-integration-tests/pom.xml +++ b/tika-integration-tests/tika-pipes-s3-integration-tests/pom.xml @@ -59,6 +59,11 @@ <version>${test.containers.version}</version> <scope>test</scope> </dependency> + <dependency> + <groupId>org.testcontainers</groupId> + <artifactId>junit-jupiter</artifactId> + <scope>test</scope> + </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>tika-core</artifactId> diff --git a/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java b/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java index 0cd6d0d78..d03b549ed 100644 --- a/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java +++ b/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java @@ -41,6 +41,7 @@ import org.junit.jupiter.api.TestInstance; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testcontainers.containers.DockerComposeContainer; +import org.testcontainers.junit.jupiter.Testcontainers; import org.testcontainers.shaded.org.apache.commons.io.FileUtils; import org.testcontainers.shaded.org.hamcrest.MatcherAssert; import org.testcontainers.shaded.org.hamcrest.Matchers; @@ -49,6 +50,7 @@ import org.apache.tika.cli.TikaCLI; import org.apache.tika.pipes.HandlerConfig; @TestInstance(TestInstance.Lifecycle.PER_CLASS) +@Testcontainers(disabledWithoutDocker = true) class S3PipeIntegrationTest { private static final Logger LOG = LoggerFactory.getLogger(S3PipeIntegrationTest.class);
