Skip to content

Commit

Permalink
test: use fewer blocks in wallet_groups and move sync call
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
jonatack committed Mar 11, 2021
1 parent 3a16b5e commit c62f9bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/functional/wallet_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def skip_test_if_missing_module(self):
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)]
Expand Down Expand Up @@ -160,8 +160,7 @@ def run_test(self):
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
Expand Down

0 comments on commit c62f9bc

Please sign in to comment.