diff options
| author | Karl-Johan Alm <[email protected]> | 2020-08-18 10:08:49 +0900 |
|---|---|---|
| committer | Karl-Johan Alm <[email protected]> | 2020-08-18 10:08:49 +0900 |
| commit | 72ae20fc142457a200278cb2fedc5e32a3766b58 (patch) | |
| tree | 603e98c723b726196a241dc4ba9901ec1cb4476e /test/functional/wallet_groups.py | |
| parent | Merge #14582: wallet: always do avoid partial spends if fees are within a spe... (diff) | |
| download | discoin-72ae20fc142457a200278cb2fedc5e32a3766b58.tar.xz discoin-72ae20fc142457a200278cb2fedc5e32a3766b58.zip | |
tests: add sync_all to fix race condition in wallet groups test
Diffstat (limited to 'test/functional/wallet_groups.py')
| -rwxr-xr-x | test/functional/wallet_groups.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/wallet_groups.py b/test/functional/wallet_groups.py index cfdc2d51e..9b6230f67 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 |