93 | @@ -92,6 +94,7 @@ def set_test_params(self):
94 | self.num_nodes = 1
95 | self.setup_clean_chain = True
96 | self.extra_args = [[
97 | + '-peertimeout=999999', # bump because mocktime might cause a disconnect otherwise
I take it this needs to be an even larger timeout than we currently use in a few other places, i.e: "-peertimeout=9999", # bump because mocktime might cause a disconnect otherwise? Otherwise would be good to settle on the same LARGE number everywhere.
It only needs to be 1 second longer than the whole duration of the test. If the test takes 100 seconds, it needs to be 101. So 9999 seems enough for our purposes here.
Maybe peertimeout should be set to ~infinity by default in our functional tests, unless opted out?