From: Yu Watanabe Date: Mon, 10 Mar 2025 19:27:18 +0000 (+0900) Subject: TEST-74-AUX-UTILS: fail earlier when systemd-run fail to reconnect to bus X-Git-Tag: v258-rc1~1106^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07355061db88d95b81cfdc3510eb57a0940daac1;p=thirdparty%2Fsystemd.git TEST-74-AUX-UTILS: fail earlier when systemd-run fail to reconnect to bus Note, the default timeout for systemctl daemon-reload is 270 seconds. Hence, 300 seconds should be enough. --- diff --git a/test/units/TEST-74-AUX-UTILS.run.sh b/test/units/TEST-74-AUX-UTILS.run.sh index d11157f8237..f6f422a3057 100755 --- a/test/units/TEST-74-AUX-UTILS.run.sh +++ b/test/units/TEST-74-AUX-UTILS.run.sh @@ -284,4 +284,4 @@ if [[ -e /usr/lib/pam.d/systemd-run0 ]] || [[ -e /etc/pam.d/systemd-run0 ]]; the fi # Tests whether intermediate disconnects corrupt us (modified testcase from https://github.com/systemd/systemd/issues/27204) -assert_rc "37" systemd-run --unit=disconnecttest --wait --pipe --user -M testuser@.host bash -ec 'systemctl --user daemon-reexec; sleep 3; exit 37' +assert_rc "37" timeout 300 systemd-run --unit=disconnecttest --wait --pipe --user -M testuser@.host bash -ec 'systemctl --user daemon-reexec; sleep 3; exit 37'