Skip to content

Commit

Permalink
tests: fixed system test "LR with SNAT fragmentation needed for exter…
Browse files Browse the repository at this point in the history
…nal server".

The test was sometimes failing if IPv6 packets were received.

Signed-off-by: Xavier Simonart <[email protected]>
Signed-off-by: Dumitru Ceara <[email protected]>
(cherry picked from commit d34320e)
  • Loading branch information
simonartxavier authored and dceara committed Nov 10, 2023
1 parent 9261e7c commit 11c3fae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/system-ovn-kmod.at
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 11c3fae

Please sign in to comment.