diff --git a/test/units/TEST-13-NSPAWN.machined.sh b/test/units/TEST-13-NSPAWN.machined.sh index f9cbd92bba..59ba8c92db 100755 --- a/test/units/TEST-13-NSPAWN.machined.sh +++ b/test/units/TEST-13-NSPAWN.machined.sh @@ -22,6 +22,11 @@ trap at_exit EXIT systemctl service-log-level systemd-machined debug systemctl service-log-level systemd-importd debug +# per request in https://github.com/systemd/systemd/pull/35117 +systemctl edit --runtime --stdin 'systemd-nspawn@.service' --drop-in=debug.conf </dev/null; do sleep .5; done" +timeout 30 bash -c "while machinectl status long-running &>/dev/null; do sleep .5; done" systemctl kill --signal=KILL systemd-nspawn@long-running.service || : (ip addr show lo | grep -q 192.168.1.100) || ip address add 192.168.1.100/24 dev lo