aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_maxuploadtarget.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-14 13:24:18 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-19 07:25:36 -0400
commitfa3365430c5fb57d7c0b5f2bce9fbbe290be93c3 (patch)
tree4395ac07b8f72de675cf1675a392e10abe068175 /test/functional/feature_maxuploadtarget.py
parentfaab4aaf2fa1153c6d76efc8113fa01b06943ece (diff)
net: Use mockable time for ping/pong, add tests
Diffstat (limited to 'test/functional/feature_maxuploadtarget.py')
-rwxr-xr-xtest/functional/feature_maxuploadtarget.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/functional/feature_maxuploadtarget.py b/test/functional/feature_maxuploadtarget.py
index 7eabf86cad..ffcc65d5bb 100755
--- a/test/functional/feature_maxuploadtarget.py
+++ b/test/functional/feature_maxuploadtarget.py
@@ -35,7 +35,11 @@ class MaxUploadTest(BitcoinTestFramework):
def set_test_params(self):
self.setup_clean_chain = True
self.num_nodes = 1
- self.extra_args = [["-maxuploadtarget=800", "-acceptnonstdtxn=1"]]
+ self.extra_args = [[
+ "-maxuploadtarget=800",
+ "-acceptnonstdtxn=1",
+ "-peertimeout=9999", # bump because mocktime might cause a disconnect otherwise
+ ]]
self.supports_cli = False
# Cache for utxos, as the listunspent may take a long time later in the test