The mock time is a global that will affect all subsequent tests, and is
sometime reset manually at the end of a test case and sometime is not.
This diff resets it at fixture creation time to ensure the tests are
run with their own independent mock time, or current time by default.
Also removes the now useless manual resets.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGINGeffcdf625e49: Clear mock time between tests
rABCeffcdf625e49: Clear mock time between tests
ninja check
Because ninja check runs test_bitcoin instances in parallel it can
mask the issue:
./src/test/test_bitcoin
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable