passt/test/lib
David Gibson 5b899dce7a test: More robust wait for pasta/passt to be ready
When we start passt or pasta, it may take a short time to be ready to
handle packets, especially if running under valgrind.  We have a
number of semi-arbitrary fixed sleeps to account for this.

We can do this more robustly by exploiting the fact that pasta/passt
doesn't write its pidfile until it's ready to go, so if we wait for
the pidfile to be created, we can proceed with confidence.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2022-09-29 12:21:07 +02:00
..
context test: Add wait_for() shell helper 2022-09-29 12:20:44 +02:00
layout test: Move passt_test_log_pipe to state directory 2022-09-13 11:12:41 +02:00
perf_report test/lib: Don't try to write to perf.js when running demos 2022-09-24 00:11:10 +02:00
setup test: More robust wait for pasta/passt to be ready 2022-09-29 12:21:07 +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: Wait for kernel to free up ports used by iperf3 before reusing them 2022-09-22 16:54:09 +02:00
util test: Add wait_for() shell helper 2022-09-29 12:20:44 +02:00
video test: Move video processing files to $STATEBASE 2022-09-13 11:12:41 +02:00