Commit d5c4f720 authored by Sam Thursfield's avatar Sam Thursfield

Disable D-Bus service startup timeout

This timeout interferes with debugging. If you attach GDB to a daemon
as it starts up and step through the code, the timeout can cause
dbus-daemon to kill the process that you're debugging.

We can rely on `meson test` to kill tests that actually don't finish,
and the `meson test` timeout can be conveniently increased with the
`--timeout-multiplier` commandline option.
parent b1b130ac
......@@ -9,6 +9,12 @@
<servicedir>@abs_top_builddir@/tests/services/</servicedir>
<standard_session_servicedirs/>
<!-- This timeout is annoying when the service is being debugged. We rely on
the test harness to stop the test and kill the daemon if it does
get stuck.
-->
<limit name="service_start_timeout">1000000</limit>
<policy context="default">
<!-- Allow everything to be sent -->
<allow send_destination="*"/>
......@@ -17,5 +23,4 @@
<!-- Allow anyone to own anything -->
<allow own="*"/>
</policy>
</busconfig>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment