Commit 07356c25 authored by Sebastien Robin's avatar Sebastien Robin

add handling of httplib.ResponseNotReady error message

This avoid having some failures of testnodes
parent c1784368
......@@ -51,7 +51,7 @@ __all__ = ['TaskDistributionTool', 'TestResultProxy', 'TestResultLineProxy', 'pa
# Depending on used xmlrpc backend, different exceptions can be thrown.
SAFE_RPC_EXCEPTION_LIST = [socket.error, xmlrpclib.ProtocolError,
xmlrpclib.Fault, httplib.BadStatusLine]
xmlrpclib.Fault, httplib.BadStatusLine, httplib.ResponseNotReady]
parser, _ = xmlrpclib.getparser()
if xmlrpclib.ExpatParser and isinstance(parser, xmlrpclib.ExpatParser):
SAFE_RPC_EXCEPTION_LIST.append(xmlrpclib.expat.ExpatError)
......
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