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

Event Timeline

jasonbcox requested review of this revision.
Fabien added a subscriber: Fabien.
Fabien added inline comments.
contrib/seeds/test-seeds.sh
63 ↗(On Diff #16238)

Note to reviewers: testnet default is 18332.

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