Move the testtool start in clustered CRUD into a testcase 93/33993/2
authorJozef Behran <jbehran@cisco.com>
Wed, 3 Feb 2016 11:33:26 +0000 (12:33 +0100)
committerJozef Behran <jbehran@cisco.com>
Thu, 4 Feb 2016 08:50:32 +0000 (09:50 +0100)
The unclustered CRUD suite has test tool deployment as the
first test case. Make the clustered CRUD suite follow that
pattern to improve consistency of the code in these test
suites.

Change-Id: If940ea8aaa20c12997c04d8783402dcf7d608d19
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/suites/netconf/clustering/CRUD.robot

index 78c654edde1d6015576a8735840e5cee21e06e38..85d68e0ff6c6cfe8e323446671275f945a5fa7c9 100644 (file)
@@ -60,6 +60,10 @@ ${ORIGINAL_DATA}    <data xmlns="${ODL_NETCONF_NAMESPACE}"><cont xmlns="urn:open
 ${MODIFIED_DATA}    <data xmlns="${ODL_NETCONF_NAMESPACE}"><cont xmlns="urn:opendaylight:test:netconf:crud"><l>Modified Content</l></cont></data>
 
 *** Test Cases ***
+Start_Testtool
+    [Documentation]    Deploy and start test tool, then wait for all its devices to become online.
+    NetconfKeywords.Install_And_Start_Testtool    device-count=1    schemas=${CURDIR}/../../../variables/netconf/CRUD/schemas
+
 Check_Device_Is_Not_Mounted_At_Beginning
     [Documentation]    Sanity check making sure our device is not there. Fail if found.
     [Tags]    critical
@@ -209,7 +213,6 @@ Setup_Everything
     # Connect to the Mininet machine
     SSHLibrary.Open_Connection    ${TOOLS_SYSTEM_IP}    prompt=${TOOLS_SYSTEM_PROMPT}
     Utils.Flexible_Mininet_Login
-    NetconfKeywords.Install_And_Start_Testtool    device-count=1    schemas=${CURDIR}/../../../variables/netconf/CRUD/schemas
 
 Teardown_Everything
     [Documentation]    Teardown the test infrastructure, perform cleanup and release all resources.