Skip to content

Commit

Permalink
midpoint-main-pipeline: more Xmx and RAM for story tests
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Jun 20, 2022
1 parent 64f0bbc commit d78398e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions midpoint-main-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ podTemplate(
command: 'cat',
resourceRequestCpu: params.BUILDER_CPU ?: '4',
resourceLimitCpu: params.BUILDER_CPU ?: '4',
resourceRequestMemory: '8Gi',
resourceLimitMemory: '8Gi') // see also -Xmx flag lower
resourceRequestMemory: '12Gi',
resourceLimitMemory: '12Gi') // see also -Xmx flag lower
]
) {
node(POD_LABEL) {
Expand Down Expand Up @@ -61,9 +61,9 @@ podTemplate(
}
stage("tests-extra") {
container('maven') {
// -Xmx6g should fit into 8GB of RAM, 4g is on the edge for some tests
// -Xmx10g should fit into 12GB of RAM, 6g was not enough for some tests
sh """#!/bin/bash -ex
mvn -B -ntp -Dmaven.test.failure.ignore verify -P extratest,-dist -Dfailsafe.args="-Xms2g -Xmx6g -Duser.language=en --add-exports java.management/sun.management=ALL-UNNAMED"
mvn -B -ntp -Dmaven.test.failure.ignore verify -P extratest,-dist -Dfailsafe.args="-Xms2g -Xmx10g -Duser.language=en --add-exports java.management/sun.management=ALL-UNNAMED"

if [ "${verbose}" -ge 1 ]; then
df -h
Expand Down

0 comments on commit d78398e

Please sign in to comment.