File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,7 @@ def run_test(self):
182
182
self .nodes [0 ].generate (1 ) # Generate one block for each send
183
183
variant .confirmation_height = self .nodes [0 ].getblockcount ()
184
184
variant .timestamp = self .nodes [0 ].getblockheader (self .nodes [0 ].getbestblockhash ())["time" ]
185
+ self .sync_all () # Conclude sync before calling setmocktime to avoid timeouts
185
186
186
187
# Generate a block further in the future (past the rescan window).
187
188
assert_equal (self .nodes [0 ].getrawmempool (), [])
Original file line number Diff line number Diff line change @@ -316,6 +316,7 @@ def run_test(self):
316
316
res = self .nodes [0 ].sendrawtransaction (hex )
317
317
self .nodes [0 ].generate (1 )
318
318
assert_equal (self .nodes [0 ].gettransaction (txid )["confirmations" ], 1 )
319
+ self .sync_all ()
319
320
320
321
self .log .info ("Lock unspents..." )
321
322
utxo1 = w0 .listunspent ()[0 ]
You can’t perform that action at this time.
0 commit comments