mirror of
https://github.com/corda/corda.git
synced 2025-04-07 19:34:41 +00:00
Allows configuring maxParallelForks as system property (#2482)
* Allows configuring maxParallelForks as system property
This commit is contained in:
parent
a9109e0855
commit
1218fa037e
@ -168,6 +168,10 @@ allprojects {
|
||||
tasks.withType(Test) {
|
||||
// Prevent the project from creating temporary files outside of the build directory.
|
||||
systemProperties['java.io.tmpdir'] = buildDir
|
||||
|
||||
if (System.getProperty("test.maxParallelForks") != null) {
|
||||
maxParallelForks = Integer.valueOf(System.getProperty("test.maxParallelForks"))
|
||||
}
|
||||
}
|
||||
|
||||
group 'net.corda'
|
||||
|
Loading…
x
Reference in New Issue
Block a user