]> git.feebdaed.xyz Git - 0xmirror/xdp-tools.git/commit
test_runner: Don't sleep after spawning background processes
authorToke Høiland-Jørgensen <toke@redhat.com>
Thu, 18 Sep 2025 10:54:03 +0000 (12:54 +0200)
committerToke Høiland-Jørgensen <toke@toke.dk>
Fri, 19 Sep 2025 14:06:08 +0000 (16:06 +0200)
commit22ff8a5e3a331a7a47713aee907d065fa9848d03
tree56ef68f9be0ef6194e592ffa63423c6507f896f3
parente4791d4a8e7956bdc8cd5bcbfadcb8b51140e9b5
test_runner: Don't sleep after spawning background processes

Remove the sleep delays after spawning background processes. This delays
tests and is not deterministic. Instead, add a new start_tcpdump()
function which will explicitly wait for the "listening on" output to
appear in the output file, which indicates that the process has started
up successfully.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
lib/testing/test_runner.sh