mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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:
committed by
Luca Boccassi
parent
c928defc08
commit
b5bd717fcd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user