1
0
mirror of https://passt.top/passt synced 2024-11-05 20:31:11 +00:00
passt/test/perf
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
..
passt_tcp test: Rewrite test_iperf3 2022-09-07 11:01:22 +02:00
passt_udp test: Parameterize run time for throughput performance tests 2022-09-07 11:01:22 +02:00
pasta_tcp test: Rewrite test_iperf3 2022-09-07 11:01:22 +02:00
pasta_udp test: Parameterize run time for throughput performance tests 2022-09-07 11:01:22 +02:00