test: Disable automatic connections by default

This prevents the node from trying to connect to random IPs on the internet
while running the functional tests. Exceptions are added when required for
the test to pass.
This commit is contained in:
Martin Zumsande
2021-07-26 17:36:01 +02:00
parent 54e31742d2
commit 8ca51af1ec
4 changed files with 13 additions and 6 deletions

View File

@ -23,6 +23,7 @@ def check_node_connections(*, node, num_in, num_out):
class AnchorsTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 1
self.disable_autoconnect = False
def setup_network(self):
self.setup_nodes()