Page MenuHomePhabricator

[tests] bind functional test nodes to 127.0.0.1
ClosedPublic

Authored by Fabien on May 21 2019, 17:13.

Details

Summary

Prevents OSX firewall
allow-this-application-to-accept-inbound-connections
permission popups and is generally safer.

To prevent binding to 127.0.0.1, set self.bind_to_localhost_only =
False.

Backport of core PR12482
https://github.com/bitcoin/bitcoin/pull/12482/files

Depends on D3090 (prevent failure in abc-high_priority_transaction, see the CI build log).

Test Plan
./test/functional/test_runner.py --extended

Also run on OSX

Diff Detail

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

Event Timeline

Fabien retitled this revision from [tests] bind functional test nodes to 127.0.0.1 to [WIP][tests] bind functional test nodes to 127.0.0.1.May 21 2019, 17:15

WIP until I completed the tests on OSX

Fabien retitled this revision from [WIP][tests] bind functional test nodes to 127.0.0.1 to [tests] bind functional test nodes to 127.0.0.1.May 21 2019, 20:34

Tested OK on OSX. Revealed another unrelated issue that will be fixed in another diff.

This revision is now accepted and ready to land.May 21 2019, 21:46