From ffe789b1b5e7b0db9a2232daecad3b0ae9803ac8 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Wed, 26 Feb 2020 08:56:11 -0500 Subject: [PATCH] Let this test be a little slow My guess is most of the time is spent in create_client_from_config and I don't know if there's anything we can do about that. --- src/_zkapauthorizer/tests/test_plugin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/_zkapauthorizer/tests/test_plugin.py b/src/_zkapauthorizer/tests/test_plugin.py index 325a87b..c6b4e89 100644 --- a/src/_zkapauthorizer/tests/test_plugin.py +++ b/src/_zkapauthorizer/tests/test_plugin.py @@ -52,6 +52,7 @@ from testtools.content import ( ) from hypothesis import ( given, + settings, ) from hypothesis.strategies import ( just, @@ -478,6 +479,9 @@ class LeaseMaintenanceServiceTests(TestCase): # of those at the right time. :/ tempfile.tempdir = original_tempdir + @settings( + deadline=None, + ) @given( tahoe_configs_with_dummy_redeemer, sampled_from([SERVERS_YAML, TWO_SERVERS_YAML]), -- GitLab