Apply workaround for slow testtool device creation 70/32070/3
authorJozef Behran <jbehran@cisco.com>
Mon, 4 Jan 2016 11:16:52 +0000 (12:16 +0100)
committerJozef Behran <jbehran@cisco.com>
Fri, 8 Jan 2016 09:39:09 +0000 (10:39 +0100)
According to the ODL Wiki [0], the testtool may take long
time to create the devices. As this tends to be the case
almost always (on sandbox it takes about 2 seconds per
device, on a DELL notebook running Manjaro Linux in
VirtualBox on top of Windows 7, it can take as much as 30
seconds per device), add the workaround into the
default Java options to avoid the problem.

[0] https://wiki.opendaylight.org/view/OpenDaylight_Controller:Netconf:Testtool#Slow_creation_of_devices_on_virtual_machines

Change-Id: I850e86284b403f45a0254c912b1ce6535dac476e
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/libraries/NetconfKeywords.robot

index a0d05abd3f26e09baf0027bba6270b87101b55fe..5a124e5c2f4f89e200fbed391bee795db671a6f6 100644 (file)
@@ -19,7 +19,7 @@ Resource          NexusKeywords.robot
 Resource          SSHKeywords.robot
 
 *** Variables ***
-${TESTTOOL_DEFAULT_JAVA_OPTIONS}    -Xmx1G -XX:MaxPermSize=256M
+${TESTTOOL_DEFAULT_JAVA_OPTIONS}    -Xmx1G -XX:MaxPermSize=256M -Dorg.apache.sshd.registerBouncyCastle=false
 ${DIRECTORY_WITH_DEVICE_TEMPLATES}    ${CURDIR}/../variables/netconf/device
 ${FIRST_TESTTOOL_PORT}    17830
 ${BASE_NETCONF_DEVICE_PORT}    17830