Skip to content

Commit de601ed

Browse files
Downgrade Localstack to 1.4.0 (#766)
Localstack 2.0 introduced flakiness to tests.
1 parent 86f6d72 commit de601ed

File tree

13 files changed

+29
-31
lines changed

13 files changed

+29
-31
lines changed

spring-cloud-aws-autoconfigure/src/test/java/io/awspring/cloud/autoconfigure/config/parameterstore/ParameterStoreConfigDataLoaderIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class ParameterStoreConfigDataLoaderIntegrationTests {
7070

7171
@Container
7272
static LocalStackContainer localstack = new LocalStackContainer(
73-
DockerImageName.parse("localstack/localstack:2.0.0")).withReuse(true);
73+
DockerImageName.parse("localstack/localstack:1.4.0")).withReuse(true);
7474

7575
@BeforeAll
7676
static void beforeAll() {

spring-cloud-aws-autoconfigure/src/test/java/io/awspring/cloud/autoconfigure/config/secretsmanager/SecretsManagerConfigDataLoaderIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class SecretsManagerConfigDataLoaderIntegrationTests {
7171

7272
@Container
7373
static LocalStackContainer localstack = new LocalStackContainer(
74-
DockerImageName.parse("localstack/localstack:2.0.0")).withReuse(true);
74+
DockerImageName.parse("localstack/localstack:1.4.0")).withReuse(true);
7575

7676
@BeforeAll
7777
static void beforeAll() {

spring-cloud-aws-autoconfigure/src/test/java/io/awspring/cloud/autoconfigure/metrics/CloudWatchExportAutoConfigurationIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class CloudWatchExportAutoConfigurationIntegrationTests {
5555

5656
@Container
5757
static LocalStackContainer localstack = new LocalStackContainer(
58-
DockerImageName.parse("localstack/localstack:2.0.0"));
58+
DockerImageName.parse("localstack/localstack:1.4.0"));
5959

6060
@DynamicPropertySource
6161
static void registerProperties(DynamicPropertyRegistry registry) {

spring-cloud-aws-autoconfigure/src/test/java/io/awspring/cloud/autoconfigure/sqs/SqsAutoConfigurationIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class SqsAutoConfigurationIntegrationTest {
6161

6262
@Container
6363
static LocalStackContainer localstack = new LocalStackContainer(
64-
DockerImageName.parse("localstack/localstack:2.0.0"));
64+
DockerImageName.parse("localstack/localstack:1.4.0"));
6565

6666
@SuppressWarnings("unchecked")
6767
@Test

spring-cloud-aws-dynamodb/src/test/java/io/awspring/cloud/dynamodb/DynamoDbTemplateIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class DynamoDbTemplateIntegrationTest {
6060

6161
@Container
6262
static LocalStackContainer localstack = new LocalStackContainer(
63-
DockerImageName.parse("localstack/localstack:2.0.0")).withServices(DYNAMODB).withReuse(true);
63+
DockerImageName.parse("localstack/localstack:1.4.0")).withServices(DYNAMODB).withReuse(true);
6464

6565
@BeforeAll
6666
public static void createTable() {

spring-cloud-aws-s3-parent/spring-cloud-aws-s3/src/test/java/io/awspring/cloud/s3/S3PathMatchingResourcePatternResolverTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class S3PathMatchingResourcePatternResolverTests {
4141

4242
@Container
4343
static LocalStackContainer localstack = new LocalStackContainer(
44-
DockerImageName.parse("localstack/localstack:2.0.0")).withReuse(true);
44+
DockerImageName.parse("localstack/localstack:1.4.0")).withReuse(true);
4545

4646
private static ResourcePatternResolver resourceLoader;
4747

spring-cloud-aws-s3-parent/spring-cloud-aws-s3/src/test/java/io/awspring/cloud/s3/S3ResourceIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class S3ResourceIntegrationTests {
7070

7171
@Container
7272
static LocalStackContainer localstack = new LocalStackContainer(
73-
DockerImageName.parse("localstack/localstack:2.0.0")).withReuse(true);
73+
DockerImageName.parse("localstack/localstack:1.4.0")).withReuse(true);
7474

7575
private static S3Client client;
7676
private static S3AsyncClient asyncClient;

spring-cloud-aws-s3-parent/spring-cloud-aws-s3/src/test/java/io/awspring/cloud/s3/S3TemplateIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class S3TemplateIntegrationTests {
6868

6969
@Container
7070
static LocalStackContainer localstack = new LocalStackContainer(
71-
DockerImageName.parse("localstack/localstack:2.0.0")).withReuse(true);
71+
DockerImageName.parse("localstack/localstack:1.4.0")).withReuse(true);
7272

7373
private static S3Client client;
7474

spring-cloud-aws-sns/src/test/java/io/awspring/cloud/sns/integration/SnsTemplateIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class SnsTemplateIntegrationTest {
6464

6565
@Container
6666
static LocalStackContainer localstack = new LocalStackContainer(
67-
DockerImageName.parse("localstack/localstack:2.0.0")).withServices(SNS).withServices(SQS).withReuse(true);
67+
DockerImageName.parse("localstack/localstack:1.4.0")).withServices(SNS).withServices(SQS).withReuse(true);
6868

6969
@BeforeAll
7070
public static void createSnsTemplate() {

spring-cloud-aws-sns/src/test/java/io/awspring/cloud/sns/sms/SnsSmsTemplateIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class SnsSmsTemplateIntegrationTest {
4343

4444
@Container
4545
static LocalStackContainer localstack = new LocalStackContainer(
46-
DockerImageName.parse("localstack/localstack:2.0.0")).withServices(SNS).withEnv("DEBUG", "1");
46+
DockerImageName.parse("localstack/localstack:1.4.0")).withServices(SNS).withEnv("DEBUG", "1");
4747

4848
@BeforeAll
4949
public static void createSnsTemplate() {

0 commit comments

Comments
 (0)