Remove -XX:MaxPermSize 04/87904/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 19 Feb 2020 10:08:55 +0000 (11:08 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 19 Feb 2020 10:08:55 +0000 (11:08 +0100)
We have not supported anything below Java 8 for a long time,
hence we do not need to muck with -XX:MaxPermSize, as it has no
effect since Java 8.

Change-Id: Ie68a311e3260f149764a9fdb485561e69090a044
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
csit/libraries/NetconfKeywords.robot
csit/libraries/RestPerfClient.robot

index afa32772d2c2769134e79e2bce5b726c34a57a9f..455d36e2d51f9e21ad27420434cac2c74f426ba0 100644 (file)
@@ -24,7 +24,7 @@ Resource          Utils.robot
 Resource          RemoteBash.robot
 
 *** Variables ***
-${TESTTOOL_DEFAULT_JAVA_OPTIONS}    -Xmx1G -XX:MaxPermSize=256M
+${TESTTOOL_DEFAULT_JAVA_OPTIONS}    -Xmx1G
 ${DIRECTORY_WITH_DEVICE_TEMPLATES}    ${CURDIR}/../variables/netconf/device
 ${FIRST_TESTTOOL_PORT}    17830
 ${BASE_NETCONF_DEVICE_PORT}    17830
index fc5d6e026a6f2ac80f64b9ed390cc02a9b85c469..14dbbb9e9d753ae0dc0da4fb319b8bed46883020 100644 (file)
@@ -48,7 +48,7 @@ Setup_Restperfclient
     BuiltIn.Set_Suite_Variable    ${RestPerfClient__restperfclient}    ${connection}
     SSHLibrary.Put_File    ${CURDIR}/../variables/netconf/RestPerfClient/request1.json
     ${filename}=    NexusKeywords.Deploy_Test_Tool    netconf    netconf-testtool    rest-perf-client
-    ${prefix}=    NexusKeywords.Compose_Full_Java_Command    -Xmx1G -XX:MaxPermSize=256M -jar ${filename}
+    ${prefix}=    NexusKeywords.Compose_Full_Java_Command    -Xmx1G -jar ${filename}
     BuiltIn.Set_Suite_Variable    ${RestPerfClient__restperfclient_invocation_command_prefix}    ${prefix}
 
 RestPerfClient__Kill