From 806e8986940a27f08b663ac089ea1662a31127f3 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 22 May 2011 10:21:49 +0000 Subject: [PATCH] no more CRITICAL drop outs in test mode - lots of reports were related to this --- lib/request/connect.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/request/connect.py b/lib/request/connect.py index feb837826..2ad8c1987 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -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: