no more CRITICAL drop outs in test mode - lots of reports were related to this

This commit is contained in:
Miroslav Stampar 2011-05-22 10:21:49 +00:00
parent 7b52bbe3fb
commit 806e898694

View File

@ -393,6 +393,9 @@ class Connect:
if "forcibly closed" in tbMsg:
logger.critical(warnMsg)
return None, None
elif kb.testMode:
logger.warn(warnMsg)
return None
elif silent or (ignoreTimeout and any(map(lambda x: x in tbMsg, ["timed out", "IncompleteRead"]))):
return None, None
elif threadData.retriesCount < conf.retries and not kb.threadException and not conf.realTest: