Page MenuHomePhabricator

Simplify the abc_mining_basic.py test
ClosedPublic

Authored by Fabien on Feb 18 2022, 14:46.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCc76611d6843a: Simplify the abc_mining_basic.py test
Summary

The test uses getblocktemplate which checks that the node is connected to at least one peer. Rather than spinning a node, just use the test framework to work around this check.

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
abc_mining_basic_p2pinterface
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18301
Build 36407: Build Diffbuild-clang-tidy · build-diff · build-without-wallet · build-debug · build-clang
Build 36406: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Feb 18 2022, 14:46
Fabien added a child revision: Restricted Differential Revision.Feb 18 2022, 15:27
This revision is now accepted and ready to land.Feb 21 2022, 07:13
This revision was automatically updated to reflect the committed changes.