Skip to content

Commit bac447c

Browse files
committed
make tests even less strict..
1 parent b510882 commit bac447c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/extract/test_sources.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,11 +916,11 @@ def rate_limited_resource():
916916
elapsed = time.time() - start_time
917917

918918
if rate_limit is None:
919-
assert elapsed < 0.1
919+
assert elapsed < 0.2
920920
elif rate_limit == 10:
921921
assert (elapsed > 1.0) and (elapsed < 3.0)
922922
elif rate_limit == 100:
923-
assert (elapsed > 0.1) and (elapsed < 0.6)
923+
assert (elapsed > 0.1) and (elapsed < 1.0)
924924

925925
# run another check with a source and transformer
926926
# here we check that rate limit also works with multiple resources and on transformers

0 commit comments

Comments
 (0)