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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.