Skip to content

Commit c62f9bc

Browse files
committed
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
1 parent 3a16b5e commit c62f9bc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/functional/wallet_groups.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def skip_test_if_missing_module(self):
3131
def run_test(self):
3232
self.log.info("Setting up")
3333
# Mine some coins
34-
self.nodes[0].generate(110)
34+
self.nodes[0].generate(101)
3535

3636
# Get some addresses from the two nodes
3737
addr1 = [self.nodes[1].getnewaddress() for _ in range(3)]
@@ -160,8 +160,7 @@ def run_test(self):
160160
signed_tx = self.nodes[0].signrawtransactionwithwallet(funded_tx['hex'])
161161
self.nodes[0].sendrawtransaction(signed_tx['hex'])
162162
self.nodes[0].generate(1)
163-
164-
self.sync_all()
163+
self.sync_all()
165164

166165
# Check that we can create a transaction that only requires ~100 of our
167166
# utxos, without pulling in all outputs and creating a transaction that

0 commit comments

Comments
 (0)