tests: Double the timeouts when testing with address sanitizer

This commit is contained in:
Marco Trevisan (Treviño)
2020-02-14 18:31:40 +01:00
committed by Bastien Nocera
parent d72c802415
commit 714f499ab6
2 changed files with 15 additions and 2 deletions

View File

@ -57,6 +57,9 @@ class TestFprintd(dbusmock.DBusTestCase):
if os.path.exists(valgrind):
klass.wrapper_args += ['--suppressions={}'.format(valgrind)]
if 'ADDRESS_SANITIZER' in os.environ:
klass.sleep_time *= 2
def setUp(self):
(self.p_mock, self.obj_fprintd_manager) = self.spawn_server_template(
self.template_name, {}, stdout=subprocess.PIPE)