diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-01-02 08:57:27 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-03-19 12:26:00 -0400 |
commit | c8330d4216e9f8e31c4e910a6bdf42f09458b2cd (patch) | |
tree | 455c84ebd2b3201985ca5be4de73dd62a4d135d5 /test/functional/mempool_persist.py | |
parent | 93634f296e0b2281b25fdbbd5e608b2f5e662ea3 (diff) |
qa: Use node.datadir instead of tmpdir in test framework
Diffstat (limited to 'test/functional/mempool_persist.py')
-rwxr-xr-x | test/functional/mempool_persist.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/mempool_persist.py b/test/functional/mempool_persist.py index 53748df915..7343716700 100755 --- a/test/functional/mempool_persist.py +++ b/test/functional/mempool_persist.py @@ -93,8 +93,8 @@ class MempoolPersistTest(BitcoinTestFramework): self.start_node(0) wait_until(lambda: len(self.nodes[0].getrawmempool()) == 5) - mempooldat0 = os.path.join(self.options.tmpdir, 'node0', 'regtest', 'mempool.dat') - mempooldat1 = os.path.join(self.options.tmpdir, 'node1', 'regtest', 'mempool.dat') + mempooldat0 = os.path.join(self.nodes[0].datadir, 'regtest', 'mempool.dat') + mempooldat1 = os.path.join(self.nodes[1].datadir, 'regtest', 'mempool.dat') self.log.debug("Remove the mempool.dat file. Verify that savemempool to disk via RPC re-creates it") os.remove(mempooldat0) self.nodes[0].savemempool() |