Page MenuHomePhabricator

[qa] cause test_framework to mine the initial chain *now*
ClosedPublic

Authored by schancel on May 17 2018, 02:46.

Details

Summary

Currently, the test mines blocks back in Jan 1 2014 to
generate an initial blockchain. Then tests zip into the future
to mine blocks in the current time. This change fixes it, so that
the initial blockchain is generated recently, but allows it to be
overriden for specific tests.

Test Plan
./test/functional/test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
mock_time
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2594
Build 3302: Bitcoin ABC Buildbot (legacy)
Build 3301: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.May 20 2018, 16:28
This revision was automatically updated to reflect the committed changes.