test: Add smoke test to check that wallets are flushed by default

This commit is contained in:
MarcoFalke
2020-05-11 18:19:56 +02:00
parent c4a44186d8
commit fa28a61897

View File

@ -202,5 +202,10 @@ class WalletDumpTest(BitcoinTestFramework):
result = self.nodes[0].getaddressinfo(multisig_addr)
assert result['ismine']
self.log.info('Check that wallet is flushed')
with self.nodes[0].assert_debug_log(['Flushing wallet.dat'], timeout=20):
self.nodes[0].getnewaddress()
if __name__ == '__main__':
WalletDumpTest().main()