From a4554e666af4d62500bec2bae393fc9e67e2d4d8 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 27 Oct 2019 02:43:49 +0100 Subject: [PATCH] tests: speed up test_faulthandler.test_timeout --- testing/test_faulthandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_faulthandler.py b/testing/test_faulthandler.py index a0cf1d8c1..e99206a4d 100644 --- a/testing/test_faulthandler.py +++ b/testing/test_faulthandler.py @@ -58,13 +58,13 @@ def test_timeout(testdir, enabled): """ import time def test_timeout(): - time.sleep(2.0) + time.sleep(0.1) """ ) testdir.makeini( """ [pytest] - faulthandler_timeout = 1 + faulthandler_timeout = 0.01 """ ) args = ["-p", "no:faulthandler"] if not enabled else []