Maor Blaustein 6c50e090d6 Adjust security group logging tests for possible ping delay
Less capable hardware (or CI misconfiguration, etc) may cause ping delay beyond
tested time frame, which breaks the assertions since rate/burst limits are applied per second.

The most delicate test is for entries over 1 second period, small time frame on purpose
to target testing burst limit, therefor needed more solutions.

Counter measures for robustness:

1) Adjusting the expected allowed range of log entries according to longer ping time beyond expected time frame (1s and 60s tests).
2) Retrying ping up to 5 times until duration is closer to 1s (10% expected offset allowed).
3) Last resort when both of the above failed, allowing on specific hardware up to 33% offset, only on delicate 1s test.
4) Adjusts for precision (floor/ceil and more).

Signed-off-by: Maor Blaustein <mblue@redhat.com>
Resolves: OSPRH-36602
Change-Id: I68cc8afc523655e9fd0cfad78b87dcecdef4f24e
2026-09-24 18:42:19 +03:00
2022-08-22 12:18:50 +02:00
2022-08-08 12:03:41 +00:00
2022-11-09 07:24:40 +00:00
2026-02-10 13:53:03 +01:00

Whitebox Neutron Tempest Plugin

Tempest plugin with openstack-k8s-operators oriented whitebox tests for Neutron project.

S
Description
Tempest plugin with whitebox Neutron related tests useful for the Tripleo based deployments.
Readme
5.7 MiB
2 Watchers 0 Forks
Languages
Python 99.6%
Shell 0.4%