diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-08-08 17:22:45 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-08-08 17:22:35 -0400 |
commit | fa5587fe71ce041dc69cb0d46697975bb51ef1f6 (patch) | |
tree | ed1eb744ee32af6b25a90d4557b3af1c3ee62d34 /test/functional/example_test.py | |
parent | 1cd5f2cf9a98708767049a7ddf577cc3f4527617 (diff) |
qa: wait_for_verack by default
Diffstat (limited to 'test/functional/example_test.py')
-rwxr-xr-x | test/functional/example_test.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/functional/example_test.py b/test/functional/example_test.py index e2f1cc05b3..b9e1a4b682 100755 --- a/test/functional/example_test.py +++ b/test/functional/example_test.py @@ -130,12 +130,9 @@ class ExampleTest(BitcoinTestFramework): def run_test(self): """Main test logic""" - # Create P2P connections to two of the nodes + # Create P2P connections will wait for a verack to make sure the connection is fully up self.nodes[0].add_p2p_connection(BaseNode()) - # wait_for_verack ensures that the P2P connection is fully up. - self.nodes[0].p2p.wait_for_verack() - # Generating a block on one of the nodes will get us out of IBD blocks = [int(self.nodes[0].generate(nblocks=1)[0], 16)] self.sync_all([self.nodes[0:1]]) @@ -187,7 +184,6 @@ class ExampleTest(BitcoinTestFramework): self.nodes[0].disconnect_p2ps() self.nodes[2].add_p2p_connection(BaseNode()) - self.nodes[2].p2p.wait_for_verack() self.log.info("Wait for node2 reach current tip. Test that it has propagated all the blocks to us") |