summaryrefslogtreecommitdiff
path: root/testing/tools/gold.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tools/gold.py')
-rw-r--r--testing/tools/gold.py2
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'