Skip to content

Commit

Permalink
Set parallelism to 1 in int test java in java connector plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
tryangul committed Jan 11, 2025
1 parent 4b2c258 commit 1df6d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/groovy/airbyte-java-connector.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class AirbyteJavaConnectorPlugin implements Plugin<Project> {
systemProperties = project.test.systemProperties + [
'junit.jupiter.execution.parallel.enabled': 'true',
'junit.jupiter.execution.parallel.config.strategy': 'fixed',
'junit.jupiter.execution.parallel.config.fixed.parallelism': Math.min((Runtime.runtime.availableProcessors() / 2).toInteger(), 1).toString()
'junit.jupiter.execution.parallel.config.fixed.parallelism': 1.toString()
]

// Tone down the JIT when running the containerized connector to improve overall performance.
Expand Down

0 comments on commit 1df6d0f

Please sign in to comment.