Commit 52c60c14 authored by kaiyou's avatar kaiyou
Browse files

Increase the HTTP timeout

parent 299fa6a0
Pipeline #847 passed with stage
in 58 seconds
......@@ -5,7 +5,7 @@ import requests_html
def get(context, url, expected_code=200, expected_string=None):
""" Run a GET http request and test the HTTP response code
"""
req = requests.get(url, timeout=5.0)
req = requests.get(url, timeout=20.0)
if expected_code != req.status_code:
up = False
message = "the page returned code {}".format(req.status_code)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment