mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2025-12-27 04:40:10 +01:00
test_fprintd_utils: Don't use hard-coded sleep time
Make sleep time on verification dependent on the environment, so that it's different when under valgrind
This commit is contained in:
parent
cfbded36e1
commit
d27872ff86
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ class TestFprintd(dbusmock.DBusTestCase):
|
|||
self.assertRegex(out, r'left-little-finger')
|
||||
self.assertNotRegex(out, 'Verify result: verify-match \(done\)')
|
||||
|
||||
time.sleep(2)
|
||||
time.sleep(self.sleep_time * 4)
|
||||
|
||||
out = self.get_process_output(process)
|
||||
self.assertRegex(out, 'Verify result: verify-match \(done\)')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue