Skip to content

Commit

Permalink
add timeout to test script
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronwmorris committed Jul 8, 2023
1 parent 67308f5 commit be78128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/aurora_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def main(self):

def download_json(self, url, tmpfile):
logger.warning('Downloading %s', url)
r = requests.get(url, allow_redirects=True, verify=True)
r = requests.get(url, allow_redirects=True, verify=True, timeout=15.0)

if r.status_code >= 400:
logger.error('URL returned %d', r.status_code)
Expand Down

0 comments on commit be78128

Please sign in to comment.