summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2021-07-19 16:57:57 +0200
committerBenjamin Berg <bberg@redhat.com>2021-07-22 14:23:03 +0200
commitcf9400e1cacb3727dbbdd78cda5b8ee6dccb4d84 (patch)
treeb4ae61aa103bbcafb05e7ca1d04e6af969639703 /tests
parente4e6f36196da4b9ac819599e83496320033515ea (diff)
downloadgnome-settings-daemon-cf9400e1cacb3727dbbdd78cda5b8ee6dccb4d84.tar.gz
tests: Add timeout to some more calls
The default timeout of 60 seconds is rather long. If we run into that, we don't necessarily get a proper backtrace from python before meson kills the process. As such, lower the timeout to ease debugging.
Diffstat (limited to 'tests')
-rw-r--r--tests/gsdtestcase.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py
index 3bf939fb..cf716b39 100644
--- a/tests/gsdtestcase.py
+++ b/tests/gsdtestcase.py
@@ -195,7 +195,8 @@ class GSDTestCase(X11SessionTestCase):
# See https://gitlab.gnome.org/GNOME/mutter/merge_requests/15
klass.mutter = subprocess.Popen(['mutter', '--x11'])
klass.wait_for_bus_object('org.gnome.Mutter.IdleMonitor',
- '/org/gnome/Mutter/IdleMonitor/Core')
+ '/org/gnome/Mutter/IdleMonitor/Core',
+ timeout=100)
def stop_mutter(klass):
'''stop mutter'''