Integration tests are slow and flaky because they share one QA database.
IntermediateScenarioBuilds, Artifacts, Nexus, SonarQube and Testing
Answer
Situation read → Shared mutable state.
What I'd do →
- Switch to per-run isolated dependencies with Testcontainers or service containers.
- Seed using migrations (Flyway/Liquibase) so schema changes are tested too.
- Make tests independent: unique data per test and no order assumptions.
Why → Isolation removes interference between runs and makes failures reproducible.
Interview tip → Testing migrations in CI catches broken schema changes early.
More on Builds, Artifacts, Nexus, SonarQube and Testing
A Maven project resolves dependencies from Maven Central on every build and a left-pad style outage would stop all builds.BeginnerYou must publish snapshot and release artifacts without overwriting a released version.IntermediateEvery merge to main should produce a unique semantic version automatically.IntermediateAn npm build is non-reproducible: different versions install on different days.BeginnerThe SonarQube quality gate must block merging PRs that add new bugs, vulnerabilities or uncovered code.IntermediateCoverage shows 0% in SonarQube although tests run in CI.Intermediate