Page MenuHomePhabricator

[tests] fix block time in feature_pruning.py
ClosedPublic

Authored by Fabien on Nov 27 2019, 13:02.

Details

Summary
This is failing on travis because the mine_large_blocks() is creating
blocks with too-old timestamps. This only becomes apparent when running
the test on slow systems.

Backport of core PR15696:
https://github.com/bitcoin/bitcoin/pull/15696/files

Depends on D4561.

Test Plan
./test/functional/test_runner.py feature_pruning

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.