passt/test/lib
Stefano Brivio 9f8b783d4a test/lib: Wait on iperf3 clients to be done, then send SIGINT to servers
An iperf3 client might fail to send the control message indicating
the end of the test, if the kernel buffer doesn't accept it, and exit
without having sent it, as the control socket is non-blocking. Should
this happen, the server will just wait forever for this message,
instead of terminating.

Restore some of the behaviour that went away with the
"test: Rewrite test_iperf3" patch: instead of waiting on servers to
terminate, wait on the clients. When they are done, wait 2 seconds,
and then send SIGINT to the servers, which make them still write
out the JSON report before terminating.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2022-09-22 16:54:09 +02:00
..
context test: Move context temporary files to state dir 2022-09-13 11:12:41 +02:00
layout test: Move passt_test_log_pipe to state directory 2022-09-13 11:12:41 +02:00
perf_report test: Move perf.js report file to $LOGDIR/web 2022-09-13 11:12:41 +02:00
setup test: Move pidfiles and nsholder sockets into state directory 2022-09-13 11:12:41 +02:00
term test: term: When checking if status line is a number, hide errors 2022-09-14 20:49:08 +02:00
test test/lib: Wait on iperf3 clients to be done, then send SIGINT to servers 2022-09-22 16:54:09 +02:00
util tests: Remove unused set_mode() function 2022-07-14 01:32:42 +02:00
video test: Move video processing files to $STATEBASE 2022-09-13 11:12:41 +02:00