passt/test/lib
Stefano Brivio 946206437a test: Speed up by cutting on eye candy and performance test duration
We have a number of delays when we switch to new layouts that were
added to make the tests visually easier to follow, together with
blinking status bars. Shorten the delays and avoid blinking the
status bar if $FAST is set to 1 (no demo mode).

Shorten delays in busy loops to 10ms, instead of 100ms, and skip the
one-second fixed delay when we wait for the status of a command.

Cut the duration of throughput and latency tests to one second, down
from ten. Somewhat surprisingly, the results we get are rather
consistent, and not significantly different from what we'd get with
10 seconds.

This, together with Podman's commit 20f3e8909e3a ("test/system:
pasta_test_do add explicit port check"), cuts the time needed on my
setup for full test run from approximately 37 minutes to...:

  $ time ./run
  [exited]
  PASS: 165, FAIL: 0
  Log at /home/sbrivio/passt/test/test_logs/test.log

  real	15m34.253s
  user	0m0.011s
  sys	0m0.011s

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Tested-by: David Gibson <david@gibson.dropbear.id.au>
2024-08-15 09:13:15 +02:00
..
context test: Use "nstool exec" to slightly simplify tests 2023-04-08 01:12:08 +02:00
layout test: Speed up by cutting on eye candy and performance test duration 2024-08-15 09:13:15 +02:00
layout_ugly passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
perf_report test/lib/perf_report: Fix highlight 2024-07-25 17:56:47 +02:00
setup test: Use "nstool exec" to slightly simplify tests 2023-04-08 01:12:08 +02:00
setup_ugly passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
term test: Speed up by cutting on eye candy and performance test duration 2024-08-15 09:13:15 +02:00
test test: Speed up by cutting on eye candy and performance test duration 2024-08-15 09:13:15 +02:00
util passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
video passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00