diff options
author | MacroFake <falke.marco@gmail.com> | 2022-08-20 08:50:16 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-08-20 08:50:19 +0200 |
commit | c73c8d53fe27956faacb3e8ca0e94adf071de6ec (patch) | |
tree | 4e7efd21b862e32c5e3836fcc4ebb989c63dea97 /src/shutdown.cpp | |
parent | 6b56873b41974ced7aad87a4b38abe360c34eed3 (diff) | |
parent | 02dea9a47fa17e977c9de72233ebd74e913fa30a (diff) |
Merge bitcoin/bitcoin#25878: tests: Use mocktime for wallet encryption timeout
02dea9a47fa17e977c9de72233ebd74e913fa30a tests: Use mocktime for wallet encryption timeout (Andrew Chow)
Pull request description:
The intermittent wallet_encryption.py failures are related to differences in time between python and std::chrono. We can avoid this entirely by using mocktime. This also allows us to test for the exact unlocking time rather than that it is greater than expected.
Fixes #25482
ACKs for top commit:
MarcoFalke:
review ACK 02dea9a47fa17e977c9de72233ebd74e913fa30a
vasild:
ACK 02dea9a47fa17e977c9de72233ebd74e913fa30a
Tree-SHA512: 5a5489f5cd2569c824bf5b3d839be0c632ed27627c0eff65dda63c143a8d1174fe3252acba8102b4242a9ddf42d82bfe79babad68f1beeb83eb251386058e039
Diffstat (limited to 'src/shutdown.cpp')
0 files changed, 0 insertions, 0 deletions