mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
test: no longer connect nodes in parallel in start_masternodes
This commit is contained in:
parent
be72ef5592
commit
1e17b74207
@ -1446,17 +1446,12 @@ class DashTestFramework(BitcoinTestFramework):
|
|||||||
job.result()
|
job.result()
|
||||||
jobs.clear()
|
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()
|
executor.shutdown()
|
||||||
|
|
||||||
|
# connect nodes
|
||||||
|
for idx in range(0, self.mn_count):
|
||||||
|
do_connect(idx)
|
||||||
|
|
||||||
def start_masternode(self, mninfo, extra_args=None):
|
def start_masternode(self, mninfo, extra_args=None):
|
||||||
args = ['-masternodeblsprivkey=%s' % mninfo.keyOperator] + self.extra_args[mninfo.nodeIdx]
|
args = ['-masternodeblsprivkey=%s' % mninfo.keyOperator] + self.extra_args[mninfo.nodeIdx]
|
||||||
if extra_args is not None:
|
if extra_args is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user