1
0
mirror of https://passt.top/passt synced 2024-07-04 00:42:41 +00:00
passt/test/lib
Stefano Brivio 856b04490a test/lib: Run also iperf3 clients in background, revert to time-based wait
Unfortunately, this partially counters recent efforts by David to
speed up these tests, but it looks like iperf3 clients don't reliably
terminate, in some rare cases I couldn't isolate yet.

For the moment being, reintroduce the time-based wait approach, now
using the configurable test duration, and terminate the servers at
the end of it, in case they're stuck. There's no point in keeping
the 'sleep 2' later, so drop that, and while at it, make sure that
the stuck servers have time to flush the JSON output before we use
it.

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: Run also iperf3 clients in background, revert to time-based wait 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