1
0
mirror of synced 2025-12-19 18:14:56 -05:00

source-mysql, source-mssql: parallelize test execution (#32772)

Co-authored-by: postamar <postamar@users.noreply.github.com>
This commit is contained in:
Marius Posta
2023-11-27 10:49:06 -08:00
committed by GitHub
parent cdd3952d4c
commit d97a399a24
126 changed files with 4013 additions and 5825 deletions

View File

@@ -332,6 +332,8 @@ subprojects { subproj ->
// Effectively disable JUnit concurrency by running tests in only one thread by default.
systemProperty 'junit.jupiter.execution.parallel.config.strategy', 'fixed'
systemProperty 'junit.jupiter.execution.parallel.config.fixed.parallelism', 1
// Order test classes by annotation.
systemProperty 'junit.jupiter.testclass.order.default', 'org.junit.jupiter.api.ClassOrderer$OrderAnnotation'
if (!subproj.hasProperty('testExecutionConcurrency')) {
// By default, let gradle spawn as many independent workers as it wants.