Bug 2327 fix to verify ipaddress in sol003_02 testsuite
[osm/tests.git] / robot-systest / testsuite / hackfest_multivdu.robot
index 325cd9d..a4ddf33 100644 (file)
@@ -68,7 +68,7 @@ Network Service Instance Test
     [Documentation]   Instantiate NS for the testsuite.
     ${status}   ${message}=   Run Keyword And Ignore Error   Variable Should Exist   ${PUBLICKEY}
     Log   ${status},${message}
-    IF   ${status} == "FAIL"   Set Global Variable   ${PUBLICKEY}   ${EMPTY}
+    IF   "${status}" == "FAIL"   Set Global Variable   ${PUBLICKEY}   ${EMPTY}
     ${id}=   Create Network Service   ${NSD_NAME}   %{VIM_TARGET}   ${NS_NAME}   ${NS_CONFIG}   ${PUBLICKEY}
     Set Suite Variable   ${NS_ID}   ${id}
     Sleep   ${WAIT_GUARD_FOR_VM_BOOT}   Waiting for VM's daemons to be up and running
@@ -87,7 +87,7 @@ Test SSH Access
     [Documentation]   Check that the VNF is accessible via SSH in its mgmt IP address.
     ${status}   ${message}=   Run Keyword And Ignore Error   Variable Should Exist   ${PRIVATEKEY}
     Log   ${status},${message}
-    IF   ${status} == "FAIL"   Set Global Variable   ${PRIVATEKEY}   ${EMPTY}
+    IF   "${status}" == "FAIL"   Set Global Variable   ${PRIVATEKEY}   ${EMPTY}
     Test SSH Connection   ${VNF_IP_ADDR}   ${USERNAME}   ${PASSWORD}   ${PRIVATEKEY}
 
 Delete NS Instance Test