diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/tools/gold.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tools/gold.py b/testing/tools/gold.py index a8222378e8..89dfce1b81 100644 --- a/testing/tools/gold.py +++ b/testing/tools/gold.py @@ -68,7 +68,7 @@ class GoldBaseline(object): GOLD_BASELINE_URL = ('https://storage.googleapis.com/skia-infra-gm/' 'hash_files/gold-pdfium-baseline.json') try: - response = urllib2.urlopen(GOLD_BASELINE_URL) + response = urllib2.urlopen(GOLD_BASELINE_URL, timeout=2) json_data = response.read() except (urllib2.HTTPError, urllib2.URLError) as e: print ('Error: Unable to read skia gold json from %s: %s' |