diff options
author | MacroFake <falke.marco@gmail.com> | 2022-06-22 09:14:36 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-06-22 09:15:33 +0200 |
commit | faee330c7bde4d52dc18cf55166b5975b26bdecd (patch) | |
tree | 0388f3fa97ea41e0b42b522d10159f1931513e11 /test/functional/feature_signet.py | |
parent | e3b06e8dd8982155a97cfd090c01d06455a3c84d (diff) | |
download | bitcoin-faee330c7bde4d52dc18cf55166b5975b26bdecd.tar.xz |
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.
Diffstat (limited to 'test/functional/feature_signet.py')
-rwxr-xr-x | test/functional/feature_signet.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/feature_signet.py b/test/functional/feature_signet.py index 6578caee3f..4c1e48af6d 100755 --- a/test/functional/feature_signet.py +++ b/test/functional/feature_signet.py @@ -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") |