Skip to content

Commit

Permalink
Do not reuse containers (#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejwalkowiak authored Mar 19, 2024
1 parent 4844659 commit 02c0f97
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class ParameterStoreConfigDataLoaderIntegrationTests {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:3.2.0")).withReuse(true);
DockerImageName.parse("localstack/localstack:3.2.0"));

@BeforeAll
static void beforeAll() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class SecretsManagerConfigDataLoaderIntegrationTests {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:3.2.0")).withReuse(true);
DockerImageName.parse("localstack/localstack:3.2.0"));

@TempDir
static Path tokenTempDir;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class DynamoDbTemplateIntegrationTest {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:3.2.0")).withReuse(true);
DockerImageName.parse("localstack/localstack:3.2.0"));

@BeforeAll
public static void createTable() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class S3PathMatchingResourcePatternResolverTests {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:3.2.0")).withReuse(true);
DockerImageName.parse("localstack/localstack:3.2.0"));

private static ResourcePatternResolver resourceLoader;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class S3TemplateIntegrationTests {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:3.2.0")).withReuse(true);
DockerImageName.parse("localstack/localstack:3.2.0"));

private static S3Client client;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class SnsTemplateIntegrationTest {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:3.2.0")).withReuse(true);
DockerImageName.parse("localstack/localstack:3.2.0"));

@BeforeAll
public static void createSnsTemplate() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ abstract class BaseSqsIntegrationTest {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:3.2.0")).withReuse(true);
DockerImageName.parse("localstack/localstack:3.2.0"));

@BeforeAll
static void beforeAll() throws IOException, InterruptedException {
Expand Down

0 comments on commit 02c0f97

Please sign in to comment.