-
Notifications
You must be signed in to change notification settings - Fork 41.9k
Open
Labels
status: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged
Description
Summary
Integration tests currently run sequentially. With 50+ test classes, this results in long feedback cycles.
Problem
Each test class uses TRUNCATE CASCADE for isolation before execution, which prevents parallel runs — concurrent tests would interfere with each other's data in the shared public schema.
On modern multi-core CPUs, sequential test execution leaves most cores idle, failing to utilise available hardware capacity.
Goal
Enable integration test classes to run in parallel without data interference, reducing overall test suite execution time.
Context
- Spring Boot integration tests (
@SpringBootTest) - All test classes share a single Spring application context
- PostgreSQL
- Flyway for schema migrations
- ~50+ integration test classes, each setting up and tearing down data via JDBC
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged