Interview Prep/CI/CD/Build Tools, Nexus, SonarQube and Test Failures

Tests pass in sequence but fail when run in parallel.

IntermediateTroubleshootingBuild Tools, Nexus, SonarQube and Test Failures
Answer

Likely causes → Shared global state, files, ports or database rows.

Diagnose → Run a single failing pair; randomise order.

Fix → Isolate state per test, use random ports/temp dirs.

Prevent → Run tests in random order in CI.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Build Tools, Nexus, SonarQube and Test Failures