Page MenuHomePhabricator

Use a temporary datadir and non-default RPC port when testing seeds
ClosedPublic

Authored by jasonbcox on Feb 10 2020, 23:10.

Details

Summary

This makes it far less likely to interfere with any nodes that may already be running.

Test Plan
bitcoind  # running a node should not cause any issues post-patch
./test-seeds.sh < nodes_main.txt
./test-seeds.sh --testnet < nodes_test.txt
../teamcity/check-seeds.sh main 80
../teamcity/check-seeds.sh test 80

Diff Detail

Repository
rABC Bitcoin ABC
Branch
tmp-test-seeds
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9402
Build 16734: Default Diff Build & Tests
Build 16733: arc lint + arc unit

Event Timeline

jasonbcox requested review of this revision.
Fabien added a subscriber: Fabien.
Fabien added inline comments.
contrib/seeds/test-seeds.sh
63

Note to reviewers: testnet default is 18332.

This revision is now accepted and ready to land.Feb 11 2020, 10:31