aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2020-04-11 11:53:16 -0400
committerMarcoFalke <[email protected]>2020-04-12 08:50:41 -0400
commitfaa655731eac751d4eb494268e2c815493ba9382 (patch)
tree0d2204dde54720eb8a5181d02668b97aa9231321
parenttest: Remove python 3.4 workaround (diff)
downloaddiscoin-faa655731eac751d4eb494268e2c815493ba9382.tar.xz
discoin-faa655731eac751d4eb494268e2c815493ba9382.zip
test: Document why connection is re-constructed on windows
-rw-r--r--test/functional/test_framework/authproxy.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/test_framework/authproxy.py b/test/functional/test_framework/authproxy.py
index c7837d3f6..3a2c59ee5 100644
--- a/test/functional/test_framework/authproxy.py
+++ b/test/functional/test_framework/authproxy.py
@@ -101,6 +101,7 @@ class AuthServiceProxy():
if os.name == 'nt':
# Windows somehow does not like to re-use connections
# TODO: Find out why the connection would disconnect occasionally and make it reusable on Windows
+ # Avoid "ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine"
self._set_conn()
try:
self.__conn.request(method, path, postdata, headers)