Commit f7276c9b authored by Neal Norwitz's avatar Neal Norwitz

Be more forgiving if we get an error, there are lots of potential socket errors

parent d2bee32e
......@@ -17,9 +17,7 @@ class CurrentTimeTest(unittest.TestCase):
try:
t0 = server.currentTime.getCurrentTime()
except socket.error as e:
if e.errno != errno.ECONNRESET:
raise
print(" test_current_time: socket got reset, skipping test",
print(" test_current_time: skipping test, got error: %s" % e,
file=sys.stderr)
return
......
Markdown is supported
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