Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Aug 30, 2024
1 parent e02163d commit 7698cfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import org.springframework.boot.test.context.TestConfiguration;
import org.springframework.boot.testcontainers.service.connection.ServiceConnection;
import org.springframework.context.annotation.Bean;
import org.springframework.test.context.DynamicPropertyRegistry;
import org.testcontainers.containers.localstack.LocalStackContainer;
import org.testcontainers.utility.DockerImageName;

Expand All @@ -12,7 +11,7 @@ public class ContainersConfig {

@Bean
@ServiceConnection
LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) {
LocalStackContainer localstackContainer() {
return new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("3.7.0"));
}
Expand Down
2 changes: 1 addition & 1 deletion aws-sqs-project/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
ports:
- "5432:5432"
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
test: [ "CMD-SHELL", "pg_isready -U appuser" ]
interval: 10s
timeout: 5s
retries: 5
Expand Down

0 comments on commit 7698cfb

Please sign in to comment.