summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2021-08-25 15:27:26 +0200
committerBenjamin Berg <bberg@redhat.com>2021-08-25 15:27:26 +0200
commite4c155d5b8ea48e337e64c24170be023229bbb07 (patch)
tree233459357f3278972b045aea7f68e9e3a052227f
parent717a9199963d1ea8c96f9208ecdca18a12247481 (diff)
tests: Give fprintd some more time to be ready
While the delay inhibitor is grabbed almost immediately, this can be slow enough to not have happened immediately after the bus name has been registered. Add a generous timeout to prevent issues.
-rw-r--r--tests/fprintd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fprintd.py b/tests/fprintd.py
index 7d9eb4d..8fa615f 100644
--- a/tests/fprintd.py
+++ b/tests/fprintd.py
@@ -615,7 +615,7 @@ class FPrintdVirtualDeviceBaseTest(FPrintdVirtualImageDeviceBaseTests):
'GLib.idle_add(lambda fd: os.close(fd), ret)')
self.daemon_start(self.driver_name)
- self.wait_got_delay_inhibitor()
+ self.wait_got_delay_inhibitor(timeout=5)
if self.device is None:
self.skipTest("Need {} device to run the test".format(self.device_driver))