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
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
2 changed files with
2 additions and
2 deletions
-
qa/rpc-tests/bip65-cltv-p2p.py
-
qa/rpc-tests/bipdersig-p2p.py
|
@ -38,7 +38,7 @@ class BIP65Test(ComparisonTestFramework): |
|
|
|
|
|
|
|
|
def run_test(self): |
|
|
def run_test(self): |
|
|
test = TestManager(self, self.options.tmpdir) |
|
|
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 |
|
|
NetworkThread().start() # Start up network handling in another thread |
|
|
test.run() |
|
|
test.run() |
|
|
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ class BIP66Test(ComparisonTestFramework): |
|
|
|
|
|
|
|
|
def run_test(self): |
|
|
def run_test(self): |
|
|
test = TestManager(self, self.options.tmpdir) |
|
|
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 |
|
|
NetworkThread().start() # Start up network handling in another thread |
|
|
test.run() |
|
|
test.run() |
|
|
|
|
|
|
|
|