Page MenuHomePhabricator

[test] Only sync proofs when avalanche is enabled
ClosedPublic

Authored by Fabien on Tue, Dec 3, 10:48.

Details

Reviewers
PiRK
tobias_ruck
Group Reviewers
Restricted Project
Commits
rABC5fad806b05e1: [test] Only sync proofs when avalanche is enabled
Summary

This makes it possible to use the functional test framework with avalanche disabled nodes.
Since the nodes are synced by default upon startup, all the tests currently would fail without this change except abc_rpc_getinfo. The flag order reversal in this test would cause it to fail as well on master but it succeeds after this patch.

Depends on D17282.

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Tue, Dec 3, 10:48
This revision is now accepted and ready to land.Tue, Dec 3, 13:23
tobias_ruck added a subscriber: tobias_ruck.
tobias_ruck added inline comments.
test/functional/test_framework/test_framework.py
807 ↗(On Diff #51367)

=== true

810 ↗(On Diff #51367)

Optional, I’ve seen linters suggest this in the past

This revision was landed with ongoing or failed builds.Tue, Dec 3, 13:28
This revision was automatically updated to reflect the committed changes.