From 0866e21cef0ac68f535fe9ecc6a739177f000149 Mon Sep 17 00:00:00 2001 From: Xavier Simonart Date: Fri, 3 Nov 2023 14:42:54 +0100 Subject: [PATCH] tests: fixed system test "LR with SNAT fragmentation needed for external server". The test was sometimes failing if IPv6 packets were received. Signed-off-by: Xavier Simonart Signed-off-by: Dumitru Ceara (cherry picked from commit 17f20bc0f652a2709ddb077a7397aa098bbd1543) --- tests/system-ovn-kmod.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system-ovn-kmod.at b/tests/system-ovn-kmod.at index 2a5a0109c7..db4191f313 100644 --- a/tests/system-ovn-kmod.at +++ b/tests/system-ovn-kmod.at @@ -321,12 +321,12 @@ NETNS_DAEMONIZE([server], [$PYTHON3 ./server.py > server.log], [server.pid]) dnl Collect packets on server side. NETNS_DAEMONIZE([server], [tcpdump -l -U -i server -vnne \ - 'icmp or udp' > server.tcpdump 2>server_err], [tcpdump0.pid]) + 'ip and (icmp or udp)' > server.tcpdump 2>server_err], [tcpdump0.pid]) OVS_WAIT_UNTIL([grep "listening" server_err]) dnl Collect packets on client side. NETNS_DAEMONIZE([client], [tcpdump -l -U -i client -vnne \ - 'icmp or udp' > client.tcpdump 2>client_err], [tcpdump1.pid]) + 'ip and (icmp or udp)' > client.tcpdump 2>client_err], [tcpdump1.pid]) OVS_WAIT_UNTIL([grep "listening" client_err]) dnl Send two packets to the server with a short interval.