Skip to content

Commit 72ae20f

Browse files
committed
tests: add sync_all to fix race condition in wallet groups test
1 parent c831e10 commit 72ae20f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/wallet_groups.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def run_test(self):
103103
self.nodes[0].sendtoaddress(addr_aps, 1.0)
104104
self.nodes[0].sendtoaddress(addr_aps, 1.0)
105105
self.nodes[0].generate(1)
106+
self.sync_all()
106107
txid4 = self.nodes[3].sendtoaddress(self.nodes[0].getnewaddress(), 0.1)
107108
tx4 = self.nodes[3].getrawtransaction(txid4, True)
108109
# tx4 should have 2 inputs and 2 outputs although one output would

0 commit comments

Comments
 (0)