Commit 6a1fffae authored by Bastien Nocera's avatar Bastien Nocera
Browse files

tests/fprintd: Fix claim_from_other_client_is_released_when_vanished on CI

test_claim_from_other_client_is_released_when_vanished would fail on
the CI but work on a local system because we wouldn't want long enough
for the "vanished" code path to be taken into account. Add a small
timeout to make sure it works on the CI as well.
parent 47bd3f7f
......@@ -566,6 +566,7 @@ class FPrintdVirtualDeviceTest(FPrintdVirtualDeviceBaseTest):
def test_claim_from_other_client_is_released_when_vanished(self):
self.call_device_method_from_other_client('Claim', ['testuser'])
time.sleep(1)
self.device.Claim('(s)', 'testuser')
self.device.Release()
......
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