
In order to detect correctly duplicates in tested log entries there is need to wait before and after when logs retrieved or start tracking. Looking at related code `test_only_accepted_traffic_logged` there are 2 very close code lines [1] that use `ping_ip_address` method (that uses `ping -c1`), which may generate ICMP traffic that may seem duplicate - 4 log entries of twice request/reply. This is still suspicious that 4 entries are on same second in timestamp, but to ensure this isn't test timing fault, lets merge such fix. [1] https://opendev.org/x/whitebox-neutron-tempest-plugin/src/commit/d08fcd29e9/whitebox_neutron_tempest_plugin/tests/scenario/test_security_group_logging.py#L559-L564 Related-Issue: #OSPRH-14560 Change-Id: Iaa18702edb2c553599657c66b7cb49120a48486e
Whitebox Neutron Tempest Plugin
Tempest plugin with openstack-k8s-operators oriented whitebox tests for Neutron project.
- Free software: Apache license
- Source: https://opendev.org/x/whitebox-neutron-tempest-plugin
Description
Tempest plugin with whitebox Neutron related tests useful for the Tripleo based deployments.
Languages
Python
99.5%
Shell
0.5%