test: Fail if connect_nodes fails

Also replace the use of wait_until_helper, which is not allowed to be
called directly. Otherwise, --timeout-factor will not be honoured.
This commit is contained in:
MacroFake committed 2022-06-22 09:15:33 +02:00
1 parent e3b06e8dd8
commit faee330c7b
2 files changed
+15 -5

No files matched your search

+8
View File
@@ -39,6 +39,14 @@ class SignetBasicTest(BitcoinTestFramework):
shared_args3, shared_args3,
]
def setup_network(self):
self.setup_nodes()
# Setup the three signets, which are incompatible with each other
self.connect_nodes(0, 1)
self.connect_nodes(2, 3)
self.connect_nodes(4, 5)
def run_test(self):
self.log.info("basic tests using OP_TRUE challenge")