HomePhabricator

[tests] fix block time in feature_pruning.py

Description

[tests] fix block time in feature_pruning.py

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

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D4563

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Apr 29 2019, 22:38
FabienCommitted on Nov 27 2019, 20:10
FabienPushed on Nov 27 2019, 20:11
Reviewer
Restricted Project
Differential Revision
D4563: [tests] fix block time in feature_pruning.py
Parents
rABC705004cee429: [tests] make pruning test faster
Branches
Unknown
Tags
Unknown