Browse Source

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 4a785b0a5b
during the test rewrites.
pull/4/head
Jack Grigg 7 years ago
parent
commit
243b6a9d4b
No known key found for this signature in database GPG Key ID: 665DBCD284F7DAFF
  1. 2
      qa/rpc-tests/bip65-cltv-p2p.py
  2. 2
      qa/rpc-tests/bipdersig-p2p.py

2
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()

2
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()

Loading…
Cancel
Save