From 4d52bbef52365cc3f63ce82947874f4d275ab2a1 Mon Sep 17 00:00:00 2001 From: Daniil Salokin Date: Mon, 12 Aug 2024 14:45:49 +0300 Subject: [PATCH] fix JVM conditions 6 to 12 --- charts/allure-testops/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/allure-testops/templates/_helpers.tpl b/charts/allure-testops/templates/_helpers.tpl index d13a2ab..9212751 100644 --- a/charts/allure-testops/templates/_helpers.tpl +++ b/charts/allure-testops/templates/_helpers.tpl @@ -267,7 +267,7 @@ {{- $xmx = mul $xms 3 }} {{- end }} {{- end }} - {{- if gt ($v | trimSuffix "Gi" | atoi ) 6 }} + {{- if gt ($v | trimSuffix "Gi" | atoi ) 12 }} {{- printf "-XX:+UseG1GC -XX:+UseStringDeduplication -Xms%d%s -Xmx%d%s" $xms $unit $xmx $unit }} {{- else }} {{- printf "-XX:+UseParallelGC -Xms%d%s -Xmx%d%s" $xms $unit $xmx $unit }}