From 60e35553b4af7e080a7e4dd9e0609e21c7ddda99 Mon Sep 17 00:00:00 2001 From: Srinivas Rachakonda Date: Thu, 23 Jul 2020 12:42:01 +0530 Subject: [PATCH] increase ping packet count Signed-off-by: Srinivas Rachakonda Change-Id: I02d265ff89be5eed2d301053f8b8ab87d86226d8 --- csit/libraries/OpenStackOperations.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csit/libraries/OpenStackOperations.robot b/csit/libraries/OpenStackOperations.robot index e6cfb6bd64..d2600c9951 100644 --- a/csit/libraries/OpenStackOperations.robot +++ b/csit/libraries/OpenStackOperations.robot @@ -523,7 +523,7 @@ Check Ping [Documentation] Run Ping command on the IP available as argument ${ethertype} = String.Get Regexp Matches ${ip_address} ${IP_REGEX} ${ping} = BuiltIn.Set Variable If ${ethertype} ping ping6 - ${cmd} = BuiltIn.Set Variable rc=0; for count in `seq 1 ${ping_tries}`; do ${ping} -W1 -t${ttl} -c1 ${ip_address}; rc=$?; if [ $rc -eq 0 ]; then break; fi; done; echo ping_rc=$rc + ${cmd} = BuiltIn.Set Variable rc=0; for count in `seq 1 ${ping_tries}`; do ${ping} -W1 -t${ttl} -c5 ${ip_address}; rc=$?; if [ $rc -eq 0 ]; then break; fi; done; echo ping_rc=$rc ${output} = Utils.Write Commands Until Expected Regexp ${cmd} ping_rc=\\d+ 120 BuiltIn.Log output: ${output} BuiltIn.Should Contain ${output} 64 bytes -- 2.36.6