[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/Makefile b/Makefile
index b10a4ea..a2b237d 100644
--- a/Makefile
+++ b/Makefile
@@ -142,5 +142,5 @@
find . -name output.xml -print
clean-all: clean
- rm -rf venv_cord gendocs cord-robot/CORDRobot/VERSION cord-robot/dist/*
+ rm -rf vst_venv venv_cord gendocs cord-robot/CORDRobot/VERSION cord-robot/dist/*
diff --git a/VERSION b/VERSION
index 399088b..04b10b4 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.1.6
+2.1.7
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}
diff --git a/requirements.txt b/requirements.txt
index 3b51eb8..fbfc319 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,7 +2,7 @@
flake8
paramiko
pexpect
-pylint
+pylint<=2.10.2
pyyaml
robotframework
robotframework-databaselibrary