Commit d27872ff authored by Marco Trevisan's avatar Marco Trevisan Committed by Bastien Nocera
Browse files

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
parent cfbded36
......@@ -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\)')
......
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