File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5952,14 +5952,14 @@ fn continue_after_fast_block_no_sortition() {
5952
5952
let commits_before_1 = rl1_commits. load ( Ordering :: SeqCst ) ;
5953
5953
let commits_before_2 = rl2_commits. load ( Ordering :: SeqCst ) ;
5954
5954
5955
- signer_test
5956
- . running_nodes
5957
- . btc_regtest_controller
5958
- . build_next_block ( 1 ) ;
5955
+ next_block_and (
5956
+ & mut signer_test. running_nodes . btc_regtest_controller ,
5957
+ 30 ,
5958
+ || Ok ( get_burn_height ( ) > burn_height_before) ,
5959
+ )
5960
+ . unwrap ( ) ;
5959
5961
btc_blocks_mined += 1 ;
5960
5962
5961
- wait_for ( 30 , || Ok ( get_burn_height ( ) > burn_height_before) ) . unwrap ( ) ;
5962
-
5963
5963
assert_eq ! ( rl1_commits. load( Ordering :: SeqCst ) , commits_before_1) ;
5964
5964
assert_eq ! ( rl2_commits. load( Ordering :: SeqCst ) , commits_before_2) ;
5965
5965
assert_eq ! (
You can’t perform that action at this time.
0 commit comments