Skip to content

Commit

Permalink
Merge #20214: test: Fix rpc_net intermittent issue
Browse files Browse the repository at this point in the history
fa5f466 test: Fix rpc_net intermittent issue (MarcoFalke)

Pull request description:

  Without the sync, the nodes might generate blocks at the same height and thus never be able to sync

ACKs for top commit:
  practicalswift:
    ACK fa5f466: patch looks correct

Tree-SHA512: 21255795c2121c71fc620beb766855e57c7af94a668331d1b625665e22eb4b485a2b5c3ad2bb9a7042744f3c3e49c71251bcec41ba25bca03fd54aae32968a3a
  • Loading branch information
fanquake committed Oct 22, 2020
2 parents b46f37b + fa5f466 commit dda18e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/functional/rpc_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def run_test(self):
# Connect nodes both ways.
self.connect_nodes(0, 1)
self.connect_nodes(1, 0)
self.sync_all()

self.test_connection_count()
self.test_getpeerinfo()
Expand Down

0 comments on commit dda18e7

Please sign in to comment.