diff options
author | Ivan Ivanets <iivanets@cisco.com> | 2024-09-27 17:11:18 +0300 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2024-10-01 16:57:44 +0000 |
commit | b2b87e481953a9b857ff0315194d43d538f31931 (patch) | |
tree | c1135c0bba437062d48fbf98747bedc46aa328e5 /src/vnet/qos/qos_egress_map.c | |
parent | 38e94c3461020f77d2a3cff0511f3a727be8af1a (diff) |
tests: fix wireguard test case failures
Type: test
There are random failures in the wireguard test cases that are not related to concurrency issues.
The root cause is a retry of the handshake initiation after (REKEY_TIMEOUT + JITTER) ms, where JITTER is a random value between 0 and 333 ms.
Solution: Add a filter parameter for the `send_and_expect` method of the vpptestcase.
This filter allows for excluding unexpected handshake initiation packets when the responder sends two packets (with `message_type = 1` and `message_type = 2`),while only a single packet (with `message_type = 2`) is expected.
Change-Id: I62816931fc1b85e2202f3d36eb6c2a23714644d5
Signed-off-by: Ivan Ivanets <iivanets@cisco.com>
Diffstat (limited to 'src/vnet/qos/qos_egress_map.c')
0 files changed, 0 insertions, 0 deletions