diff options
author | Jon Atack <jon@atack.com> | 2021-03-07 20:23:22 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-03-11 17:15:05 +0100 |
commit | c62f9bc0e931f65eef63041d2c53f9a294c0e8d6 (patch) | |
tree | 0d94ec3d776a50f8a3f50f424678edb62928496c /test | |
parent | 3a16b5ef95c1c25f8b78e591f985e80b41a6dbdd (diff) |
test: use fewer blocks in wallet_groups and move sync call
- generate 101 blocks instead of 110
- move a sync_all call into the loop so that fewer blocks are
synced on each call to hopefully see fewer timeouts
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/wallet_groups.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/wallet_groups.py b/test/functional/wallet_groups.py index 8344fcffb0..c0b76d960f 100755 --- a/test/functional/wallet_groups.py +++ b/test/functional/wallet_groups.py @@ -31,7 +31,7 @@ class WalletGroupTest(BitcoinTestFramework): def run_test(self): self.log.info("Setting up") # Mine some coins - self.nodes[0].generate(110) + self.nodes[0].generate(101) # Get some addresses from the two nodes addr1 = [self.nodes[1].getnewaddress() for _ in range(3)] @@ -160,8 +160,7 @@ class WalletGroupTest(BitcoinTestFramework): signed_tx = self.nodes[0].signrawtransactionwithwallet(funded_tx['hex']) self.nodes[0].sendrawtransaction(signed_tx['hex']) self.nodes[0].generate(1) - - self.sync_all() + self.sync_all() # Check that we can create a transaction that only requires ~100 of our # utxos, without pulling in all outputs and creating a transaction that |