test: no longer connect nodes in parallel in start_masternodes

This commit is contained in:
UdjinM6 2024-09-25 14:29:45 +03:00
parent be72ef5592
commit 1e17b74207
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9

View File

@ -1446,17 +1446,12 @@ class DashTestFramework(BitcoinTestFramework):
job.result()
jobs.clear()
# connect nodes in parallel
for idx in range(0, self.mn_count):
jobs.append(executor.submit(do_connect, idx))
# wait for all nodes to connect
for job in jobs:
job.result()
jobs.clear()
executor.shutdown()
# connect nodes
for idx in range(0, self.mn_count):
do_connect(idx)
def start_masternode(self, mninfo, extra_args=None):
args = ['-masternodeblsprivkey=%s' % mninfo.keyOperator] + self.extra_args[mninfo.nodeIdx]
if extra_args is not None: