[VOL-4327] Updated Check Ping keyword to send 30 packets and Check Ping Result keyword to accept upto 4% packet loss
Change-Id: I69b82024da573d9ae51784cfd9522c56f1a029de
diff --git a/cord-robot/CORDRobot/rf-resources/utils.resource b/cord-robot/CORDRobot/rf-resources/utils.resource
index 1aaeb42..eb68a67 100644
--- a/cord-robot/CORDRobot/rf-resources/utils.resource
+++ b/cord-robot/CORDRobot/rf-resources/utils.resource
@@ -160,7 +160,8 @@
Run Keyword If '${reachable}' == 'True'
... Should Contain ${result} 64 bytes
Run Keyword If '${reachable}' == 'True'
- ... Should Contain Any ${result} 0% packet loss 0.0% packet loss
+ ... Should Contain Any ${result} 0% packet loss 0.0% packet loss 1% packet loss
+ ... 2% packet loss 3% packet loss 4% packet loss
Run Keyword If '${reachable}' == 'True'
... Should Not Contain Any ${result} 100% packet loss 100.0% packet loss
Run Keyword If '${reachable}' == 'False'
@@ -173,7 +174,7 @@
[Arguments] ${ping_should_pass} ${dst_ip} ${iface} ${ip}
... ${user} ${pass}=${None} ${container_type}=${None} ${container_name}=${None}
${result}= Login And Run Command On Remote System
- ... ping -I ${iface} -c 3 ${dst_ip}
+ ... ping -I ${iface} -c 30 ${dst_ip}
... ${ip} ${user} ${pass} ${container_type} ${container_name}
Check Ping Result ${ping_should_pass} ${result}