Change ping check for COE 85/80185/2
authorKarthika Panneer <r.p.karthika@ericsson.com>
Thu, 7 Feb 2019 10:10:22 +0000 (02:10 -0800)
committerSam Hague <shague@redhat.com>
Thu, 7 Feb 2019 15:56:19 +0000 (15:56 +0000)
The output of ping between pods
is checked over 0% packet loss.
This is changed to 64 bytes to
ensure proper check is being done.

Change-Id: I45923d3b2884b75cdd16baa5204427ed46ca9d40
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
csit/libraries/Coe.robot

index 4a1e19db7fe313d6f08a26fa2fe15b4e0b287748..3f9c287844421843d80651e91f5f77e1ee156b32 100644 (file)
@@ -252,7 +252,7 @@ Ping Pods
     : FOR    ${ping info}    IN    @{logs}
     \    ${ping} =    Write Commands Until Expected Prompt    kubectl exec -it ${pod_name} -- ping -c 3 ${pod ips[${i}]}    ${DEFAULT_LINUX_PROMPT_STRICT}
     \    BuiltIn.log    ${ping}
-    \    Builtin.Should Match Regexp    ${ping}    ${PING_REGEXP}
+    \    BuiltIn.Should Contain    ${ping}    64 bytes
     \    ${i}    Evaluate    ${i}+1
 
 Coe Suite Teardown