diff options
| author | MarcoFalke <[email protected]> | 2020-05-11 18:19:56 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-07-09 13:07:17 +0200 |
| commit | fa28a618972911239a119248ab1194702a5c36d8 (patch) | |
| tree | ef19680f4d291690862f06e1e66cb74bec64e4fa /test/functional/wallet_dump.py | |
| parent | Merge #19085: Refactor: clean up PeriodicFlush() (diff) | |
| download | discoin-fa28a618972911239a119248ab1194702a5c36d8.tar.xz discoin-fa28a618972911239a119248ab1194702a5c36d8.zip | |
test: Add smoke test to check that wallets are flushed by default
Diffstat (limited to 'test/functional/wallet_dump.py')
| -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 ba1e494d9..6bfb46882 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() |