Read Until mininet>
Wait Until Keyword Succeeds 10s 2s Check For Specific Number Of Elements At URI ${OPERATIONAL_NODES_API} ${FORWARD} 4
Wait Until Keyword Succeeds 10s 2s Check For Specific Number Of Elements At URI ${OPERATIONAL_NODES_API} ${DISCARD} 2
+ # This sleep is needed because if the ping in the below WUKS is launched before the STP effectively removes the link,
+ # it produces a packet storm in mininet that makes the test unresponsive.
+ Sleep 1
Wait Until Keyword Succeeds 10s 2s Ping Works Good
Remove Port
Read Until mininet>
Wait Until Keyword Succeeds 10s 2s Check For Specific Number Of Elements At URI ${OPERATIONAL_NODES_API} ${FORWARD} 4
Wait Until Keyword Succeeds 10s 2s Check For Specific Number Of Elements At URI ${OPERATIONAL_NODES_API} ${DISCARD} 2
+ # This sleep is needed because if the ping in the below WUKS is launched before the STP effectively removes the link,
+ # it produces a packet storm in mininet that makes the test unresponsive.
+ Sleep 1
Wait Until Keyword Succeeds 10s 2s Ping Works Good
*** Keywords ***