We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68fe720 + c8d00ab commit f317cd1Copy full SHA for f317cd1
testnet/stacks-node/src/tests/signer/v0.rs
@@ -4843,7 +4843,13 @@ fn miner_recovers_when_broadcast_block_delay_across_tenures_occurs() {
4843
4844
// a tenure has begun, so wait until we mine a block
4845
wait_for(30, || {
4846
- Ok(mined_blocks.load(Ordering::SeqCst) > blocks_before)
+ let new_height = signer_test
4847
+ .stacks_client
4848
+ .get_peer_info()
4849
+ .expect("Failed to get peer info")
4850
+ .stacks_tip_height;
4851
+ Ok(mined_blocks.load(Ordering::SeqCst) > blocks_before
4852
+ && new_height > info_before.stacks_tip_height)
4853
})
4854
.expect("Timed out waiting for block to be mined and processed");
4855
0 commit comments