From bac447c9f6c0ee43410b7d17e56736737a2239bc Mon Sep 17 00:00:00 2001 From: Dave Date: Sun, 15 Dec 2024 22:09:03 +0100 Subject: [PATCH] make tests even less strict.. --- tests/extract/test_sources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/extract/test_sources.py b/tests/extract/test_sources.py index db9f7432a2..25a7a847aa 100644 --- a/tests/extract/test_sources.py +++ b/tests/extract/test_sources.py @@ -916,11 +916,11 @@ def rate_limited_resource(): elapsed = time.time() - start_time if rate_limit is None: - assert elapsed < 0.1 + assert elapsed < 0.2 elif rate_limit == 10: assert (elapsed > 1.0) and (elapsed < 3.0) elif rate_limit == 100: - assert (elapsed > 0.1) and (elapsed < 0.6) + assert (elapsed > 0.1) and (elapsed < 1.0) # run another check with a source and transformer # here we check that rate limit also works with multiple resources and on transformers