test: wait a bit for the given PID to die if it's still alive
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 21 Oct 2021 13:59:57 +0000 (15:59 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 21 Oct 2021 13:59:57 +0000 (15:59 +0200)
commitdded88acb9320e3f16a97073c84a139a56e0def5
tree02595aa7ca2f78de111964568de9aea8f2281bc4
parent97c373c7de8c40b020722d8c1d8f6372b85ef827
test: wait a bit for the given PID to die if it's still alive

When playing around with the coverage-enabled build I kept hitting
an issue where dnsmasq failed to start because the previous instance was
still shutting down. This should, hopefully, help to mitigate that.
test/test-network/systemd-networkd-tests.py