Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 806e898

Browse files
committed
no more CRITICAL drop outs in test mode - lots of reports were related to this
1 parent 7b52bbe commit 806e898

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/request/connect.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,9 @@ def getPage(**kwargs):
393393
if "forcibly closed" in tbMsg:
394394
logger.critical(warnMsg)
395395
return None, None
396+
elif kb.testMode:
397+
logger.warn(warnMsg)
398+
return None
396399
elif silent or (ignoreTimeout and any(map(lambda x: x in tbMsg, ["timed out", "IncompleteRead"]))):
397400
return None, None
398401
elif threadData.retriesCount < conf.retries and not kb.threadException and not conf.realTest:

0 commit comments

Comments
 (0)