From 11c3fae094219077cfcb22af97764dd14f791ed7 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 d34320e340f826a6952cf15bcb1cf3dc4b8f35cc) --- 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 db38cb842c..6376985c39 100644 --- a/tests/system-ovn-kmod.at +++ b/tests/system-ovn-kmod.at @@ -457,12 +457,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.