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:
parent
b86b9feb6c
commit
243b6a9d4b
|
@ -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()
|
||||
|
||||
|
|
|
@ -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…
Reference in New Issue