Skip to content

Commit

Permalink
Eliminate timing issue with the node syncing in example_test.py
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Saveliev <dima@thirdhash.com>
  • Loading branch information
dsaveliev committed Apr 26, 2019
1 parent 6473260 commit 5a86f9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/functional/example_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def run_test(self):
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")
self.nodes[2].waitforblockheight(height)

getdata_request = msg_getdata()
for block in blocks:
Expand Down

0 comments on commit 5a86f9d

Please sign in to comment.