mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
[qa] Bugfix: allow overriding extra_args in ComparisonTestFramework
This commit is contained in:
parent
300f8e7a82
commit
4ed36539bc
@ -380,8 +380,10 @@ class ComparisonTestFramework(BitcoinTestFramework):
|
|||||||
help="bitcoind binary to use for reference nodes (if any)")
|
help="bitcoind binary to use for reference nodes (if any)")
|
||||||
|
|
||||||
def setup_network(self):
|
def setup_network(self):
|
||||||
|
extra_args = [['-whitelist=127.0.0.1']]*self.num_nodes
|
||||||
|
if hasattr(self, "extra_args"):
|
||||||
|
extra_args = self.extra_args
|
||||||
self.nodes = self.start_nodes(
|
self.nodes = self.start_nodes(
|
||||||
self.num_nodes, self.options.tmpdir,
|
self.num_nodes, self.options.tmpdir, extra_args,
|
||||||
extra_args=[['-whitelist=127.0.0.1']] * self.num_nodes,
|
|
||||||
binary=[self.options.testbinary] +
|
binary=[self.options.testbinary] +
|
||||||
[self.options.refbinary]*(self.num_nodes-1))
|
[self.options.refbinary]*(self.num_nodes-1))
|
||||||
|
Loading…
Reference in New Issue
Block a user