Skip to content

Commit 753548b

Browse files
committed
debugging
1 parent e9bc03e commit 753548b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

system_test/fixture.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,14 @@ def check_http_up():
318318
method='GET')
319319
try:
320320
resp = urllib.request.urlopen(req, timeout=1)
321-
print(resp)
321+
print(resp.status)
322322
if resp.status == 200:
323323
return True
324324
except socket.timeout:
325+
print("socket timeout")
325326
pass
326327
except urllib.error.URLError:
328+
print("url error")
327329
pass
328330
return False
329331

0 commit comments

Comments
 (0)