Skip to content

Commit f40e3eb

Browse files
committed
4.x: Enable parallel TestNG run
1 parent c50c33f commit f40e3eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ tasks.register('testNG', Test) {
192192
// Tell it to use TestNG explicitly
193193
useTestNG()
194194

195-
maxParallelForks = 1
195+
maxHeapSize = "1200m"
196+
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
197+
// maxParallelForks = 1
196198

197199
// Ensure JUnit-compatible XML output in the standard location
198200
reports {

0 commit comments

Comments
 (0)