Skip to content

Commit 843562f

Browse files
committed
test: reduce flakiness in mark_miner_as_invalid_if_reorg_is_rejected
1 parent 2317895 commit 843562f

File tree

1 file changed

+3
-0
lines changed
  • testnet/stacks-node/src/tests/signer

1 file changed

+3
-0
lines changed

testnet/stacks-node/src/tests/signer/v0.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11632,6 +11632,9 @@ fn mark_miner_as_invalid_if_reorg_is_rejected() {
1163211632
assert_eq!(info_after.stacks_tip_height, block_n_height + 1);
1163311633
assert_eq!(info_after.stacks_tip, block_n_1.header.block_hash());
1163411634

11635+
// Wait for both chains to be in sync
11636+
miners.wait_for_chains(30);
11637+
1163511638
info!("------------------------- Miner 1 Wins the Next Tenure, Mines N+1' -------------------------");
1163611639
test_observer::clear();
1163711640
miners

0 commit comments

Comments
 (0)