From cccb74a9095c30db445c5c81d67e8140a4aa89b5 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Thu, 11 Jun 2020 11:36:32 +0000 Subject: Check that null and empty string are equivalent --- .../test/java/com/yahoo/vespa/model/container/xml/JvmOptionsTest.java | 1 + 1 file changed, 1 insertion(+) (limited to 'config-model') 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 1bc9b65bdad..294df42bd77 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 @@ -133,6 +133,7 @@ public class JvmOptionsTest extends ContainerModelBuilderTestBase { public void requireThatJvmGCOptionsIsHonoured() throws IOException, SAXException { verifyJvmGCOptions(false, null,null, ContainerCluster.G1GC); verifyJvmGCOptions(true, null,null, ContainerCluster.CMS); + verifyJvmGCOptions(true, "",null, ContainerCluster.CMS); verifyJvmGCOptions(false, "-XX:+UseConcMarkSweepGC",null, "-XX:+UseConcMarkSweepGC"); verifyJvmGCOptions(true, "-XX:+UseConcMarkSweepGC",null, "-XX:+UseConcMarkSweepGC"); verifyJvmGCOptions(false, null,"-XX:+UseG1GC", "-XX:+UseG1GC"); -- cgit v1.2.3