summaryrefslogtreecommitdiffstats
path: root/config-model/src/test
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2021-12-20 10:09:23 +0100
committerHarald Musum <musum@yahooinc.com>2021-12-20 10:09:23 +0100
commit4aa046f63e62c50ba7b11deed3d15a00890b1c2f (patch)
treebe6b4990bb41536b250d59190a9015f35ee5a43e /config-model/src/test
parentb7dedde0a83d681966641e2cb4439ad60bf07702 (diff)
Handle JVM GC options without x or -
Diffstat (limited to 'config-model/src/test')
-rw-r--r--config-model/src/test/java/com/yahoo/vespa/model/container/xml/JvmOptionsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/container/xml/JvmOptionsTest.java b/config-model/src/test/java/com/yahoo/vespa/model/container/xml/JvmOptionsTest.java
index a1b27299d56..5fe2baaca37 100644
--- a/config-model/src/test/java/com/yahoo/vespa/model/container/xml/JvmOptionsTest.java
+++ b/config-model/src/test/java/com/yahoo/vespa/model/container/xml/JvmOptionsTest.java
@@ -171,8 +171,8 @@ public class JvmOptionsTest extends ContainerModelBuilderTestBase {
"$(touch", "/tmp/hello-from-gc-options)");
// Valid options, should not log anything
- verifyLoggingOfJvmGcOptions(true,
- "-XX:+ParallelGCThreads=8");
+ verifyLoggingOfJvmGcOptions(true, "-XX:+ParallelGCThreads=8");
+ verifyLoggingOfJvmGcOptions(true, "-XX:MaxTenuringThreshold"); // No + or - after colon
verifyLoggingOfJvmGcOptions(false, "-XX:+UseConcMarkSweepGC");
}