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.
This commit is contained in:
Jack Grigg 2017-10-03 17:35:32 +01:00
parent b86b9feb6c
commit 243b6a9d4b
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
2 changed files with 2 additions and 2 deletions

View File

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

View File

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