Use netconf test-tool with corresponding version 52/74852/1
authorJakub Morvay <jmorvay@frinx.io>
Mon, 6 Aug 2018 12:17:30 +0000 (14:17 +0200)
committerJakub Morvay <jmorvay@frinx.io>
Mon, 6 Aug 2018 12:54:28 +0000 (14:54 +0200)
Do not use Oxygen-SR2 test-tool for all netconf CSIT jobs. Each release
should use its own specific version of test-tool. That is Fluorine
should use Fluorine test-tool, Oxygen should use Oxygen test-tool etc.

Change-Id: I705954ee407f4b82c6e8a7b64e68c364156f4636
Signed-off-by: Jakub Morvay <jmorvay@frinx.io>
csit/libraries/NetconfKeywords.robot

index a07593ea16f7e6ba8c5bb5d1deea17084cb538ec..422e436fa678620dcd487fb9fe378f9bc104dd89 100644 (file)
@@ -22,7 +22,6 @@ Resource          SSHKeywords.robot
 Resource          TemplatedRequests.robot
 Resource          Utils.robot
 Resource          RemoteBash.robot
-Resource          CompareStream.robot
 
 *** Variables ***
 ${TESTTOOL_DEFAULT_JAVA_OPTIONS}    -Xmx1G -XX:MaxPermSize=256M -Dorg.apache.sshd.registerBouncyCastle=false
@@ -30,7 +29,6 @@ ${DIRECTORY_WITH_DEVICE_TEMPLATES}    ${CURDIR}/../variables/netconf/device
 ${FIRST_TESTTOOL_PORT}    17830
 ${BASE_NETCONF_DEVICE_PORT}    17830
 ${DEVICE_NAME_BASE}    netconf-scaling-device
-${TESTTOOL_DEFAULT_URL}    https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/netconf/netconf-testtool/1.4.2/netconf-testtool-1.4.2-executable.jar
 ${TESTTOOL_BOOT_TIMEOUT}    60s
 ${ENABLE_NETCONF_TEST_TIMEOUT}    ${ENABLE_GLOBAL_TEST_DEADLINES}
 
@@ -161,9 +159,7 @@ Install_And_Start_Testtool
     ...    for the additional schemas is deleted on the remote machine and
     ...    the additional schemas argument is left out.
     # Install test tool on the machine.
-    # Note that after nitrogen we have to use nitrogen release version because tool is broken in oxygen onwards.
-    ${explicit_url}=    CompareStream.Set_Variable_If_At_Most_Nitrogen    ${EMPTY}    ${TESTTOOL_DEFAULT_URL}
-    ${filename}=    NexusKeywords.Deploy_Test_Tool    netconf    netconf-testtool    explicit_url=${explicit_url}
+    ${filename}=    NexusKeywords.Deploy_Test_Tool    netconf    netconf-testtool
     ${schemas_option}=    NetconfKeywords__Deploy_Additional_Schemas    ${schemas}
     # Start the testtool
     ${command}=    NexusKeywords.Compose_Full_Java_Command    ${java_options} -jar ${filename} ${tool_options} --device-count ${device-count} --debug ${debug} ${schemas_option} --md-sal ${mdsal}