Fix for VTN Manager CSIT test failures in VTN jenkins job
[integration/test.git] / csit / suites / vtn / VTN_Mgr_OF10_Li / 010__vtn_manager.robot
index 902015e490e55c96d9663c88478e7a9c75c5e588..c5c37a88b9c1cf6f92108fb08d99af4a4b05994b 100644 (file)
@@ -48,8 +48,8 @@ Add a portmap for interface if2
     Add a portmap    Tenant1    vBridge1    if2    ${portmap_data}
 
 Ping h1 to h3
-    [Documentation]    Ping h1 to h3, verify no packet loss
-    Mininet Ping Should Succeed    h1    h3
+    [Documentation]    Verify Ping between hosts h1 and h3. To check mininet ping here added wait until time as '20s'. Since, sometimes it takes maximum '20sec' to send packet b/w hosts.
+    Wait Until Keyword Succeeds    20s    1s    Mininet Ping Should Succeed    h1    h3
 
 Add a vBridge vBridge2
     [Documentation]    Add a vBridge vBridge2 in vtn Tenant1
@@ -78,8 +78,8 @@ Add a portmap for interface if4
     Add a portmap    Tenant1    vBridge2    if4    ${portmap_data}
 
 Ping h2 to h4
-    [Documentation]    Ping h2 to h4, verify no packet loss
-    Mininet Ping Should Succeed    h2    h4
+    [Documentation]    Verify Ping between hosts h2 and h4. To check mininet ping here added wait until time as '20s'. Since, sometimes it takes maximum '20sec' to send packet b/w hosts.
+    Wait Until Keyword Succeeds    20s    1s   Mininet Ping Should Succeed    h2    h4
 
 Get flow
     [Documentation]    Get flow of a vtn Tenant1
@@ -88,7 +88,7 @@ Get flow
 Verify FlowMacAddress
     [Documentation]    Checking Flows on switch
     [Tags]    Switch
-    Verify FlowMacAddress    h2    h4    OF10
+    Wait Until Keyword Succeeds    20s    1s   Verify FlowMacAddress    h2    h4    OF10
 
 Remove Portmap for If1
     [Documentation]    Remove portmap for the interface If1
@@ -99,7 +99,7 @@ Remove Portmap for If1
 
 Verify RemovedFlowMacAddress
     [Documentation]    flows will be deleted after the port map is removed
-    Verify RemovedFlowMacAddress    h1    h3    OF10
+    Wait Until Keyword Succeeds    20s    1s   Verify RemovedFlowMacAddress    h1    h3    OF10
 
 Delete a vtn Tenant1
     [Documentation]    Delete a vtn Tenant1