mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 02:11:24 +02:00
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:
@ -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()
|
||||
|
Reference in New Issue
Block a user