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.
1 parent 38ae702 commit c8d00abCopy full SHA for c8d00ab
testnet/stacks-node/src/tests/signer/v0.rs
@@ -4841,7 +4841,13 @@ fn miner_recovers_when_broadcast_block_delay_across_tenures_occurs() {
4841
4842
// a tenure has begun, so wait until we mine a block
4843
wait_for(30, || {
4844
- Ok(mined_blocks.load(Ordering::SeqCst) > blocks_before)
+ let new_height = signer_test
4845
+ .stacks_client
4846
+ .get_peer_info()
4847
+ .expect("Failed to get peer info")
4848
+ .stacks_tip_height;
4849
+ Ok(mined_blocks.load(Ordering::SeqCst) > blocks_before
4850
+ && new_height > info_before.stacks_tip_height)
4851
})
4852
.expect("Timed out waiting for block to be mined and processed");
4853
0 commit comments