Skip to content

Commit 046da16

Browse files
committed
Make parallel test thread count configurable
Extract hardcoded threadCountClasses=8 into a configurable Maven property test.parallel.threads. Default remains 8 (no behavior change). CI can now override with -Dtest.parallel.threads=16.
1 parent e3e82a8 commit 046da16

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

integration-tests/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<skipParallelizableITs>${skipITs}</skipParallelizableITs>
3939
<skipSerialITs>${skipITs}</skipSerialITs>
4040
<skipIsolatedITs>${skipITs}</skipIsolatedITs>
41+
<test.parallel.threads>8</test.parallel.threads>
4142
</properties>
4243
<dependencies>
4344
<dependency>
@@ -238,7 +239,7 @@
238239
<jvm>${testing.jvm}/bin/java</jvm>
239240
<groups>com.datastax.oss.driver.categories.ParallelizableTests</groups>
240241
<parallel>classes</parallel>
241-
<threadCountClasses>8</threadCountClasses>
242+
<threadCountClasses>${test.parallel.threads}</threadCountClasses>
242243
<summaryFile>${project.build.directory}/failsafe-reports/failsafe-summary-parallelized.xml</summaryFile>
243244
<skipITs>${skipParallelizableITs}</skipITs>
244245
<argLine>${blockhound.argline}</argLine>

0 commit comments

Comments
 (0)