test: extend timeout and enable generating debugging logs

Not sure why the test failed, but maybe the test environment is too
slow? Even this does not fix the failure, by enabling debugging logs,
this hopefully provides more useful information for debugging.

For issue #37685.
This commit is contained in:
Yu Watanabe
2025-06-07 00:09:37 +09:00
committed by Luca Boccassi
parent c928defc08
commit b5bd717fcd

View File

@@ -58,8 +58,9 @@ busctl emit --auto-start=no --destination=systemd-logind.service \
PrepareForShutdown b false
systemd-run --quiet --service-type=notify --unit=test-busctl-wait --pty \
-p ExecStartPost="busctl emit /test org.freedesktop.fake1 TestSignal s success" \
busctl --timeout=3 wait /test org.freedesktop.fake1 TestSignal | grep -qF 's "success"'
-p Environment=SYSTEMD_LOG_LEVEL=debug \
-p ExecStartPost="busctl emit /test org.freedesktop.fake1 TestSignal s success" \
busctl --timeout=30 wait /test org.freedesktop.fake1 TestSignal | grep -qF 's "success"'
busctl get-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager \
Version