aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_groups.py
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-08-18 10:08:49 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-08-18 10:08:49 +0900
commit72ae20fc142457a200278cb2fedc5e32a3766b58 (patch)
tree603e98c723b726196a241dc4ba9901ec1cb4476e /test/functional/wallet_groups.py
parentc831e105c567420aa4d3f60c6675a229daaf5fe6 (diff)
tests: add sync_all to fix race condition in wallet groups test
Diffstat (limited to 'test/functional/wallet_groups.py')
-rwxr-xr-xtest/functional/wallet_groups.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/wallet_groups.py b/test/functional/wallet_groups.py
index cfdc2d51e6..9b6230f674 100755
--- a/test/functional/wallet_groups.py
+++ b/test/functional/wallet_groups.py
@@ -103,6 +103,7 @@ class WalletGroupTest(BitcoinTestFramework):
self.nodes[0].sendtoaddress(addr_aps, 1.0)
self.nodes[0].sendtoaddress(addr_aps, 1.0)
self.nodes[0].generate(1)
+ self.sync_all()
txid4 = self.nodes[3].sendtoaddress(self.nodes[0].getnewaddress(), 0.1)
tx4 = self.nodes[3].getrawtransaction(txid4, True)
# tx4 should have 2 inputs and 2 outputs although one output would