use constant for ping 0% packet loss
[integration/test.git] / csit / suites / openstack / connectivity / security_group.robot
index ae01ee6a56f0500b999be30d451e735bc072f551..7c66c50aae8291cc05a1508585bd5f8be8a5790f 100644 (file)
@@ -163,7 +163,7 @@ Test Connection when Rules Change Dynamically
     Read    delay=10s
     Write_Bare_Ctrl_C
     ${output}=    Read Until    packet loss
-    Should Not Contain    ${output}    received, 0% packet loss
+    Should Not Contain    ${output}    ${PING_REGEXP}
 
 No Ping From DHCP To Vm Instance1 With Additional Security Group Rules Removed
     [Documentation]    Check non-reachability of vm instances by pinging to them.