Skip to content

Commit 1e17b74

Browse files
committed
test: no longer connect nodes in parallel in start_masternodes
1 parent be72ef5 commit 1e17b74

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,17 +1446,12 @@ def do_connect(idx):
14461446
job.result()
14471447
jobs.clear()
14481448

1449-
# connect nodes in parallel
1450-
for idx in range(0, self.mn_count):
1451-
jobs.append(executor.submit(do_connect, idx))
1452-
1453-
# wait for all nodes to connect
1454-
for job in jobs:
1455-
job.result()
1456-
jobs.clear()
1457-
14581449
executor.shutdown()
14591450

1451+
# connect nodes
1452+
for idx in range(0, self.mn_count):
1453+
do_connect(idx)
1454+
14601455
def start_masternode(self, mninfo, extra_args=None):
14611456
args = ['-masternodeblsprivkey=%s' % mninfo.keyOperator] + self.extra_args[mninfo.nodeIdx]
14621457
if extra_args is not None:

0 commit comments

Comments
 (0)