dependency-track/cache
nscuro f793992857
Centralize test DB lifecycle and reuse across modules
Allows the multi-module build to exploit testcontainer reuse by centralizing the setup and table truncation logic in a separate module.

With this change, migrations only run for the first module, once, in a full test suite run. Instead of each module booting its own testcontainer, they all use the same instance, provided reuse is enabled (which it is in CI).

Also removes code duplication caused by repeated testcontainers setup logic.

Signed-off-by: nscuro <nscuro@protonmail.com>
2026-06-17 00:52:57 +02:00
..
api [maven-release-plugin] prepare for next development iteration 2026-06-07 15:27:21 +00:00
provider-database Centralize test DB lifecycle and reuse across modules 2026-06-17 00:52:57 +02:00
provider-memory [maven-release-plugin] prepare for next development iteration 2026-06-07 15:27:21 +00:00
pom.xml [maven-release-plugin] prepare for next development iteration 2026-06-07 15:27:21 +00:00