diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-09-22 16:27:27 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-22 16:54:09 +0200 |
commit | 856b04490adf3dee0fe5894c36dde29062aefbe9 (patch) | |
tree | 0ed1232b8ac9a8d4ebca32b468784810ec22de0a /hooks/pre-push | |
parent | df29ebfe02aa0639278527b0fa2d90074263af0f (diff) | |
download | passt-856b04490adf3dee0fe5894c36dde29062aefbe9.tar passt-856b04490adf3dee0fe5894c36dde29062aefbe9.tar.gz passt-856b04490adf3dee0fe5894c36dde29062aefbe9.tar.bz2 passt-856b04490adf3dee0fe5894c36dde29062aefbe9.tar.lz passt-856b04490adf3dee0fe5894c36dde29062aefbe9.tar.xz passt-856b04490adf3dee0fe5894c36dde29062aefbe9.tar.zst passt-856b04490adf3dee0fe5894c36dde29062aefbe9.zip |
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>
Diffstat (limited to 'hooks/pre-push')
0 files changed, 0 insertions, 0 deletions