diff options
author | Pieter Wuille <pieter@wuille.net> | 2020-09-27 14:43:27 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2020-10-08 01:04:29 -0700 |
commit | ec3916f40a3fc644ecbbaaddef6258937c7fcfbc (patch) | |
tree | bba4bbe9983387cafb8f4a1873d2e3e3516dce7c /test/functional/wallet_resendwallettransactions.py | |
parent | 283a73d7eaea2907a6f7f800f529a0d6db53d7a6 (diff) |
Use mockable time everywhere in net_processing
Diffstat (limited to 'test/functional/wallet_resendwallettransactions.py')
-rwxr-xr-x | test/functional/wallet_resendwallettransactions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/wallet_resendwallettransactions.py b/test/functional/wallet_resendwallettransactions.py index d3c03c4764..1dcb12de08 100755 --- a/test/functional/wallet_resendwallettransactions.py +++ b/test/functional/wallet_resendwallettransactions.py @@ -64,6 +64,10 @@ class ResendWalletTransactionsTest(BitcoinTestFramework): # Transaction should be rebroadcast approximately 24 hours in the future, # but can range from 12-36. So bump 36 hours to be sure. node.setmocktime(now + 36 * 60 * 60) + # Tell scheduler to call MaybeResendWalletTxn now. + node.mockscheduler(1) + # Give some time for trickle to occur + node.setmocktime(now + 36 * 60 * 60 + 600) peer_second.wait_for_broadcast([txid]) |