X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FOpenStackOperations.robot;h=d2600c9951ef3d2e4e11177eb1961faa00911ae7;hb=60e35553b4af7e080a7e4dd9e0609e21c7ddda99;hp=e6cfb6bd643660541a0a3872fbec9a892af5574e;hpb=7ca235f3b49081868b5e20d6af87192b6d80c694;p=integration%2Ftest.git 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