1
0
mirror of https://passt.top/passt synced 2024-07-02 07:52:41 +00:00
passt/test/lib
David Gibson e5e10aff81 test: Rewrite test_iperf3
test_iperf3() is a pretty inscrutable mess of nested background processes.
It has a number of ugly sleeps needed to wait for things to complete.

Rewrite it to be cleaner:
  * Use the construct (a & b & wait) to run 'a' and 'b' in parallel, but
    then wait for them both to complete before continuing
  * This allows us to wait for both the server and client to finish, rather
    than sleeping
  * Use jq to do all the math we need to get the final result, rather than
    jq followed by some complicated 'bc' mangling

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2022-09-07 11:01:22 +02:00
..
layout test: Add demo for Podman with pasta 2022-02-22 18:34:44 +01:00
perf_report test/lib: Consistent cols, rows, poster attributes for asciinema player 2022-04-07 11:44:35 +02:00
setup test: Kill qemu by pidfile rather than ^C 2022-08-20 19:07:12 +02:00
term test: Remove unused *_XTERM variables 2022-08-20 19:07:12 +02:00
test test: Rewrite test_iperf3 2022-09-07 11:01:22 +02:00
util tests: Remove unused set_mode() function 2022-07-14 01:32:42 +02:00
video test/lib: Consistent cols, rows, poster attributes for asciinema player 2022-04-07 11:44:35 +02:00