mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Move -createwalletbackups=0 into test_node.py
Not all tests use test_framework.py, but all use test_node.py
This commit is contained in:
parent
4049754f4a
commit
1596b1dfaa
@ -225,8 +225,6 @@ class BitcoinTestFramework(object):
|
||||
extra_args = []
|
||||
if binary is None:
|
||||
binary = os.getenv("BITCOIND", "dashd")
|
||||
# Don't try auto backups (they fail a lot when running tests)
|
||||
extra_args = extra_args + [ "-createwalletbackups=0" ]
|
||||
node = TestNode(i, dirname, extra_args, rpchost, timewait, binary, stderr, self.mocktime, coverage_dir=self.options.coveragedir)
|
||||
node.start()
|
||||
node.wait_for_rpc_connection()
|
||||
|
@ -45,6 +45,9 @@ class TestNode():
|
||||
self.extra_args = extra_args
|
||||
self.args = [self.binary, "-datadir=" + self.datadir, "-server", "-keypool=1", "-discover=0", "-rest", "-logtimemicros", "-debug", "-debugexclude=libevent", "-debugexclude=leveldb", "-mocktime=" + str(mocktime), "-uacomment=testnode%d" % i]
|
||||
|
||||
# Don't try auto backups (they fail a lot when running tests)
|
||||
self.args.append("-createwalletbackups=0")
|
||||
|
||||
self.running = False
|
||||
self.process = None
|
||||
self.rpc_connected = False
|
||||
|
Loading…
Reference in New Issue
Block a user