From 243b6a9d4b54485ca4ff056fc35b77767e8ba06e Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 3 Oct 2017 17:35:32 +0100 Subject: [PATCH] Add connections in BIP65 and BIP66 tests to the test manager Fixes a bug in the tests causing them to silently pass instead of correctly reporting other errors. Introduced in 4a785b0a5ba9689e0a76f202c34e0d310a7487d7 during the test rewrites. --- qa/rpc-tests/bip65-cltv-p2p.py | 2 +- qa/rpc-tests/bipdersig-p2p.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/rpc-tests/bip65-cltv-p2p.py b/qa/rpc-tests/bip65-cltv-p2p.py index 6f31c7663..8fef45afe 100755 --- a/qa/rpc-tests/bip65-cltv-p2p.py +++ b/qa/rpc-tests/bip65-cltv-p2p.py @@ -38,7 +38,7 @@ class BIP65Test(ComparisonTestFramework): def run_test(self): test = TestManager(self, self.options.tmpdir) - # Don't call test.add_all_connections because there is only one node. + test.add_all_connections(self.nodes) NetworkThread().start() # Start up network handling in another thread test.run() diff --git a/qa/rpc-tests/bipdersig-p2p.py b/qa/rpc-tests/bipdersig-p2p.py index 9604cdbdd..523a694bf 100755 --- a/qa/rpc-tests/bipdersig-p2p.py +++ b/qa/rpc-tests/bipdersig-p2p.py @@ -37,7 +37,7 @@ class BIP66Test(ComparisonTestFramework): def run_test(self): test = TestManager(self, self.options.tmpdir) - # Don't call test.add_all_connections because there is only one node. + test.add_all_connections(self.nodes) NetworkThread().start() # Start up network handling in another thread test.run()