diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2019-08-29 17:32:35 +0300 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2019-10-02 22:12:11 +0200 |
commit | ea46106e8d04579f70cd28035a3d337d5a3546f0 (patch) | |
tree | 01112861b75620905c26d9666fac50d91a54a83a | |
parent | 80ee535638ccc63a0cd1feaff175d66b0a3150cd (diff) | |
download | tracker-ea46106e8d04579f70cd28035a3d337d5a3546f0.tar.gz |
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.
-rw-r--r-- | tests/test-bus.conf.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test-bus.conf.in b/tests/test-bus.conf.in index 2f4b2ef1b..f2df619e3 100644 --- a/tests/test-bus.conf.in +++ b/tests/test-bus.conf.in @@ -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> |