diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-05-11 18:19:56 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-07-09 13:07:17 +0200 |
commit | fa28a618972911239a119248ab1194702a5c36d8 (patch) | |
tree | ef19680f4d291690862f06e1e66cb74bec64e4fa | |
parent | c4a44186d816716f5918fd23464a51033f208b71 (diff) |
test: Add smoke test to check that wallets are flushed by default
-rwxr-xr-x | test/functional/wallet_dump.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/wallet_dump.py b/test/functional/wallet_dump.py index ba1e494d9a..6bfb468823 100755 --- a/test/functional/wallet_dump.py +++ b/test/functional/wallet_dump.py @@ -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() |