Skip to content

Commit 6131cc0

Browse files
authored
Merge pull request DSpace#11902 from DSpace/backport-11900-to-dspace-9_x
[Port dspace-9_x] Fix failing `S3BitStoreServiceIT` by upgrading testcontainers to version 2.0.3.
2 parents 2e94982 + 26bf933 commit 6131cc0

1 file changed

Lines changed: 19 additions & 4 deletions

File tree

dspace-api/pom.xml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -854,10 +854,25 @@
854854
</dependency>
855855

856856
<dependency>
857-
<groupId>com.adobe.testing</groupId>
858-
<artifactId>s3mock-testcontainers</artifactId>
859-
<version>4.11.0</version>
860-
<scope>test</scope>
857+
<groupId>com.adobe.testing</groupId>
858+
<artifactId>s3mock-testcontainers</artifactId>
859+
<version>4.11.0</version>
860+
<scope>test</scope>
861+
<exclusions>
862+
<exclusion>
863+
<groupId>org.testcontainers</groupId>
864+
<artifactId>testcontainers</artifactId>
865+
</exclusion>
866+
</exclusions>
867+
</dependency>
868+
<!-- Override version of testcontainers that is used by s3mock-testcontainers dependency above.
869+
TODO: This works around a bug with testcontainers 2.0.2. It may be possible to remove this testcontainers
870+
dependency (and the exclusion above) after the next upgrade of s3mock-testcontainers. -->
871+
<dependency>
872+
<groupId>org.testcontainers</groupId>
873+
<artifactId>testcontainers</artifactId>
874+
<version>2.0.3</version>
875+
<scope>test</scope>
861876
</dependency>
862877

863878
<!-- JClouds Assetstorage Support -->

0 commit comments

Comments
 (0)