1
0
mirror of https://passt.top/passt synced 2024-12-24 14:45:22 +00:00
passt/test/passt_in_ns
Stefano Brivio fafdda083f test/passt_in_ns: Consistent sleep commands before starting socat client
There are some 'sleep 1' commands between starting the socat server
and its corresponding client to avoid races due to the server not
being ready as we start sending data.

However, those don't cover all the cases where we might need them,
and in some cases the sleep command actually ended up being before
the server even starts.

This fixes occasional failures in TCP and UDP simple transfer tests,
that became apparent with the new command dispatch mechanism.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2022-09-22 16:53:35 +02:00
..
icmp test: Group tests by mode then protocol, rather than the reverse 2022-09-13 11:12:41 +02:00
shutdown test: Move pidfiles and nsholder sockets into state directory 2022-09-13 11:12:41 +02:00
tcp test/passt_in_ns: Consistent sleep commands before starting socat client 2022-09-22 16:53:35 +02:00
udp test/passt_in_ns: Consistent sleep commands before starting socat client 2022-09-22 16:53:35 +02:00