Skip to content

Commit fa28a61

Browse files
author
MarcoFalke
committed
test: Add smoke test to check that wallets are flushed by default
1 parent c4a4418 commit fa28a61

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/functional/wallet_dump.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,5 +202,10 @@ def run_test(self):
202202
result = self.nodes[0].getaddressinfo(multisig_addr)
203203
assert result['ismine']
204204

205+
self.log.info('Check that wallet is flushed')
206+
with self.nodes[0].assert_debug_log(['Flushing wallet.dat'], timeout=20):
207+
self.nodes[0].getnewaddress()
208+
209+
205210
if __name__ == '__main__':
206211
WalletDumpTest().main()

0 commit comments

Comments
 (0)