| Metadata | Value |
|---|---|
| Status | Completed |
| Version | 2.0.0 |
| Last Updated | 2026-07-10 |
| Author | Sangeetha Grantha Team |
Batch 3b — Upgrade Testcontainers 1.21.4 → 2.0.5 (major). Test-only blast radius, scoped to the integration-test substrate established under ADR-013 / TRACK-110.
gradle/libs.versions.toml)1.21.4 → 2.0.5 — testcontainers-postgresql (org.testcontainers:postgresql).:modules:backend:test-support module — IntegrationTestBase, SangitaPostgres, TestDatabase, TestFixtures (consumed by api and dal test classpaths).postgres:18.3-alpine.testcontainers in libs.versions.toml.test-support helpers for any renamed/removed APIs.make test + DAL integration suite; confirm containers provision and tests pass.current-versions.md (Test & CI Substrate section).flyway-core) still integrates with the new Testcontainers lifecycle.Actual 2.x delta was small for this codebase:
org.testcontainers:postgresql → org.testcontainers:testcontainers-postgresql
(the old coordinate has no 2.x releases — Maven metadata still says latest 1.21.4).PostgreSQLContainer moved to package org.testcontainers.postgresql and dropped the
<SELF> self-type generic (PostgreSQLContainer<*> → PostgreSQLContainer).SangitaPostgres/TestDatabase/IntegrationTestBase; Flyway JVM API
integration unchanged. Verified: :dal:integrationTest, :api:integrationTest, and the full
:dal:test + :api:test suites green on 2.0.5.