From 737dba42adcc5c2498a6190264aeb571a8a30cbd Mon Sep 17 00:00:00 2001 From: "hendrik.nibbrig" Date: Fri, 21 Jul 2023 13:15:35 +0200 Subject: [PATCH] fix: do not set region explicitly Refs: INVTECH-INVTECH-2027 --- .../idealo/spring/stream/binder/sns/SnsBinderExceptionTest.java | 2 -- .../java/de/idealo/spring/stream/binder/sns/SnsBinderTest.java | 1 - 2 files changed, 3 deletions(-) diff --git a/src/test/java/de/idealo/spring/stream/binder/sns/SnsBinderExceptionTest.java b/src/test/java/de/idealo/spring/stream/binder/sns/SnsBinderExceptionTest.java index 2c2601f..c4acaf2 100644 --- a/src/test/java/de/idealo/spring/stream/binder/sns/SnsBinderExceptionTest.java +++ b/src/test/java/de/idealo/spring/stream/binder/sns/SnsBinderExceptionTest.java @@ -35,14 +35,12 @@ @Testcontainers @SpringBootTest(properties = { "cloud.aws.stack.auto=false", - "cloud.aws.region.static=eu-central-1", "spring.cloud.stream.binders.sns.type=sns", "spring.cloud.stream.bindings.output-out-0.destination=topic1", "spring.cloud.stream.bindings.output-out-0.binder=sns", "spring.cloud.stream.bindings.function.definition=output" }) class SnsBinderExceptionTest { - @Container private static final LocalStackContainer localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:0.12.10")) .withServices(SNS, SQS) diff --git a/src/test/java/de/idealo/spring/stream/binder/sns/SnsBinderTest.java b/src/test/java/de/idealo/spring/stream/binder/sns/SnsBinderTest.java index 33379d4..5e7b5e9 100644 --- a/src/test/java/de/idealo/spring/stream/binder/sns/SnsBinderTest.java +++ b/src/test/java/de/idealo/spring/stream/binder/sns/SnsBinderTest.java @@ -37,7 +37,6 @@ @Testcontainers @SpringBootTest(properties = { "cloud.aws.stack.auto=false", - "cloud.aws.region.static=eu-central-1", "spring.cloud.stream.binders.sns.type=sns", "spring.cloud.stream.bindings.output-out-0.destination=topic1", "spring.cloud.stream.bindings.output-out-0.binder=sns",