File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/integrationTest/java/software/amazon/nio/spi/s3 Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -168,9 +168,9 @@ testing {
168168 integrationTest(JvmTestSuite ) {
169169 dependencies {
170170 implementation(project())
171- implementation(' org.testcontainers:junit-jupiter:1.21.3 ' )
172- implementation(' org.testcontainers:localstack:1.21.3 ' )
173- implementation(' org.testcontainers:testcontainers:1.21.3 ' )
171+ implementation(' org.testcontainers:testcontainers- junit-jupiter:2.0.2 ' )
172+ implementation(' org.testcontainers:testcontainers- localstack:2.0.2 ' )
173+ implementation(' org.testcontainers:testcontainers:2.0.2 ' )
174174 }
175175 }
176176 withType(JvmTestSuite ). configureEach {
Original file line number Diff line number Diff line change 55
66package software .amazon .nio .spi .s3 ;
77
8- import org .testcontainers .containers . localstack .LocalStackContainer ;
8+ import org .testcontainers .localstack .LocalStackContainer ;
99import org .testcontainers .utility .DockerImageName ;
1010
1111import java .net .URI ;
2121
2222import static org .assertj .core .api .Assertions .assertThat ;
2323import static org .assertj .core .api .Assertions .assertThatCode ;
24- import static org .testcontainers .containers .localstack .LocalStackContainer .Service .S3 ;
2524import static software .amazon .nio .spi .s3 .config .S3NioSpiConfiguration .S3_SPI_ENDPOINT_PROTOCOL_PROPERTY ;
2625
2726abstract class Containers {
@@ -31,7 +30,7 @@ abstract class Containers {
3130 static {
3231 LOCAL_STACK_CONTAINER = new LocalStackContainer (
3332 DockerImageName .parse ("localstack/localstack:4.2" )
34- ).withServices (S3 );
33+ ).withServices ("s3" );
3534 LOCAL_STACK_CONTAINER .start ();
3635 System .setProperty (S3_SPI_ENDPOINT_PROTOCOL_PROPERTY , "http" );
3736 }
You can’t perform that action at this time.
0 commit comments