mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 10:19:26 +02:00
test: Set peertimeout in write_config
This avoids having to remember to set it whenever mocktime is used with peer connections. Also, it might help avoiding disconnects when attaching a debugger to a running test.
This commit is contained in:
@ -38,7 +38,6 @@ class MaxUploadTest(BitcoinTestFramework):
|
||||
self.extra_args = [[
|
||||
"-maxuploadtarget=800",
|
||||
"-acceptnonstdtxn=1",
|
||||
"-peertimeout=9999", # bump because mocktime might cause a disconnect otherwise
|
||||
]]
|
||||
self.supports_cli = False
|
||||
|
||||
|
Reference in New Issue
Block a user