Build: Rework test workers calculation with respect to available memory
#KTI-787
This commit is contained in:
committed by
teamcity
parent
cae3d8a672
commit
d9e8f0c180
@@ -59,11 +59,10 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
||||
|
||||
projectTest(parallel = true, jUnitMode = JUnitMode.JUnit5) {
|
||||
dependsOn(":dist")
|
||||
dependsOn(":plugins:fir-plugin-prototype:plugin-annotations:jar")
|
||||
|
||||
workingDir = rootDir
|
||||
useJUnitPlatform()
|
||||
jvmArgs!!.removeIf { it.contains("-Xmx") }
|
||||
maxHeapSize = "3g"
|
||||
dependsOn(":plugins:fir-plugin-prototype:plugin-annotations:jar")
|
||||
}
|
||||
|
||||
testsJar()
|
||||
|
||||
@@ -45,11 +45,9 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
||||
}
|
||||
}
|
||||
|
||||
projectTest(parallel = true, jUnitMode = JUnitMode.JUnit4) {
|
||||
projectTest(parallel = true, jUnitMode = JUnitMode.JUnit4, maxHeapSizeMb = 3072) {
|
||||
workingDir = rootDir
|
||||
useJUnitPlatform()
|
||||
jvmArgs!!.removeIf { it.contains("-Xmx") }
|
||||
maxHeapSize = "3g"
|
||||
dependsOn(":plugins:fir-plugin-prototype:jar")
|
||||
dependsOn(":plugins:fir-plugin-prototype:plugin-annotations:jar")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user