Skip to content

Commit

Permalink
Add max_reties 1 in test_connection_keepalive
Browse files Browse the repository at this point in the history
  • Loading branch information
morucci committed Jun 15, 2020
1 parent 1f71924 commit 2e90a60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cheroot/test/test_wsgi.py
Expand Up @@ -37,6 +37,7 @@ def test_connection_keepalive(simple_wsgi_server):
session = Session(base_url=simple_wsgi_server['url'])
pooled = requests.adapters.HTTPAdapter(
pool_connections=1, pool_maxsize=1000,
max_retries=1
)
session.mount('http://', pooled)

Expand Down

0 comments on commit 2e90a60

Please sign in to comment.