Skip to content

Commit 3186ad4

Browse files
author
MarcoFalke
committed
Merge #13130: [tests] Fix race in rpc_deprecated.py
a95bf64 [tests] Fix race in rpc_deprecated.py (John Newbery) Pull request description: Fixes a block generation race introduced in 3576ab1. Tree-SHA512: 044d7cff5087d0e5e950fa80d20dec6427416697820e8748bc30f4d4e6f7ff0753a44eed398432f8c33ed79948a42fb65f9f5926aa6fbd14224e8bf6b12a54ed
2 parents 783bb64 + a95bf64 commit 3186ad4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/rpc_deprecated.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def run_test(self):
4949
#
5050
address0 = self.nodes[0].getnewaddress()
5151
self.nodes[0].generatetoaddress(101, address0)
52+
self.sync_all()
5253
address1 = self.nodes[1].getnewaddress()
5354
self.nodes[1].generatetoaddress(101, address1)
5455

0 commit comments

Comments
 (0)