More fixes related to extra_args

This commit is contained in:
Alexander Block 2019-12-06 13:13:29 +01:00
parent 5213118601
commit 41f0e9d028
4 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ AUTO_IX_MEM_THRESHOLD = 0.1
class AutoISMempoolTest(DashTestFramework):
def __init__(self):
super().__init__(8, 5, ["-maxmempool=%d" % MAX_MEMPOOL_SIZE, '-limitdescendantsize=10'], fast_dip3_enforcement=True)
super().__init__(8, 5, [["-maxmempool=%d" % MAX_MEMPOOL_SIZE, '-limitdescendantsize=10']] * 8, fast_dip3_enforcement=True)
# set sender, receiver
self.receiver_idx = 1
self.sender_idx = 2

View File

@ -72,7 +72,7 @@ class LLMQChainLocksTest(DashTestFramework):
good_tip = self.nodes[0].getbestblockhash()
# Restart it so that it forgets all the chainlocks from the past
stop_node(self.nodes[0], 0)
self.nodes[0] = start_node(0, self.options.tmpdir, self.extra_args)
self.nodes[0] = start_node(0, self.options.tmpdir, self.extra_args[0])
connect_nodes(self.nodes[0], 1)
self.nodes[0].invalidateblock(self.nodes[0].getbestblockhash())
# Now try to reorg the chain

View File

@ -23,7 +23,7 @@ transactions with high fee.
class AutoInstantSendTest(DashTestFramework):
def __init__(self):
super().__init__(8, 5, [], fast_dip3_enforcement=True)
super().__init__(8, 5, fast_dip3_enforcement=True)
# set sender, receiver, isolated nodes
self.receiver_idx = 1
self.sender_idx = 2

View File

@ -332,7 +332,7 @@ class DashTestFramework(BitcoinTestFramework):
copy_datadir(0, idx + start_idx, self.options.tmpdir)
# restart faucet node
self.nodes[0] = start_node(0, self.options.tmpdir, self.extra_args)
self.nodes[0] = start_node(0, self.options.tmpdir, self.extra_args[0])
def start_masternodes(self):
start_idx = len(self.nodes)