Skip to content

Commit 50b58e9

Browse files
committed
test: longer backoff
1 parent ad51436 commit 50b58e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def get_ip(self) -> str:
108108
def _with_backoff(self, method_name: str, predicate: Callable[[Any], bool], *args, **kwargs) -> Response:
109109
"""Apply backoff retry logic to any session HTTP method."""
110110
with ipv6(kwargs.pop('ipv6', False)):
111-
@backoff.on_predicate(backoff.constant, predicate, interval=.25, max_tries=20, jitter = None)
111+
@backoff.on_predicate(backoff.constant, predicate, interval=.25, max_tries=40, jitter = None)
112112
def _request(*_args, **_kwargs):
113113
return getattr(self.session, method_name)(*_args, **_kwargs)
114114
return _request(*args, **kwargs)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy