From 1e17b7420785a0f92ce512167c2bce59b08538df Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 25 Sep 2024 14:29:45 +0300 Subject: [PATCH] test: no longer connect nodes in parallel in `start_masternodes` --- test/functional/test_framework/test_framework.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index 8fd2d52a9b..d30ff52bca 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -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: