Skip to content

Commit 48a751a

Browse files
committed
feat: Use PostgreSQL 17.3-alpine3.21πŸ«ΈπŸŒ€βœοΈπŸ“—πŸ§πŸ³β¬†
1 parent f7c9117 commit 48a751a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€Žsrc/test/java/id/my/hendisantika/testcontainerpostgresql/SpringBootTestContainerPostgresqlApplicationTests.javaβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SpringBootTestContainerPostgresqlApplicationTests {
2727

2828
@Container
2929
@ServiceConnection
30-
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:16.0");
30+
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17.3-alpine3.21");
3131

3232
@Autowired
3333
TestRestTemplate restTemplate;

β€Žsrc/test/java/id/my/hendisantika/testcontainerpostgresql/repository/PostRepositoryTest.javaβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class PostRepositoryTest {
3636

3737
@Container
3838
@ServiceConnection
39-
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17-alpine3.20");
39+
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17.3-alpine3.21");
4040

4141
@Autowired
4242
PostRepository postRepository;

0 commit comments

Comments
Β (0)