From b5bd717fcdf5127495e178cf3fe8cbd8b86d390c Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 7 Jun 2025 00:09:37 +0900 Subject: [PATCH] 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. --- test/units/TEST-74-AUX-UTILS.busctl.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/units/TEST-74-AUX-UTILS.busctl.sh b/test/units/TEST-74-AUX-UTILS.busctl.sh index 26a43317d42..459b7040f87 100755 --- a/test/units/TEST-74-AUX-UTILS.busctl.sh +++ b/test/units/TEST-74-AUX-UTILS.busctl.sh @@ -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 -- 2.47.3