source-mysql, source-mssql: parallelize test execution (#32772)
Co-authored-by: postamar <postamar@users.noreply.github.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user