l2switch suite stabilization
[integration/test.git] / csit / suites / l2switch / Address_Tracking_OF13 / 010__restconf_inv_addresses.robot
index 39be604fba6b0b32abcbc11e48a388e9059739d6..6347371de5f4ba997e9c32156d2f7ec46567ef7a 100644 (file)
@@ -31,9 +31,7 @@ Check No Host Is Present
 
 Ping All
     [Documentation]    Pingall, verify no packet loss
-    Write    pingall
-    ${result}    Read Until    mininet>
-    Should Contain    ${result}    Results: 0% dropped
+    Wait Until Keyword Succeeds    10s    2s    Ping All Works Good
 
 Check node 1 addresses
     [Documentation]    Get the address observations for node 1
@@ -52,3 +50,9 @@ Check node 3 addresses
     @{list}    Create List    ${IP_1}    ${IP_2}
     Wait Until Keyword Succeeds    10s    2s    Check For Specific Number Of Elements At URI    ${OPERATIONAL_NODES_API}/node/openflow:3    ${IP_3}    1
     Wait Until Keyword Succeeds    10s    2s    Check For Elements Not At URI    ${OPERATIONAL_NODES_API}/node/openflow:3    ${list}
+
+*** Keywords ***
+Ping All Works Good
+    Write    pingall
+    ${result}    Read Until    mininet>
+    Should Contain    ${result}    Results: 0% dropped