Skip to content

Commit 4cdb8dc

Browse files
committed
test: attempt to fix flakiness in burn_block_height_behavior
1 parent 383c0b8 commit 4cdb8dc

File tree

1 file changed

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

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13693,6 +13693,12 @@ fn burn_block_height_behavior() {
1369313693
// Stall mining, so that the next call will get included in the tenure extend block
1369413694
TEST_MINE_STALL.set(true);
1369513695

13696+
// Wait to ensure the miner reaches the stalled state
13697+
// This is necessary because it's possible that the miner will mine the
13698+
// following transaction before reaching the stall state, causing the test
13699+
// to be flaky.
13700+
sleep_ms(5000);
13701+
1369613702
info!("------------------------- submit contract call 2 -------------------------");
1369713703
let call_tx = make_contract_call(
1369813704
&deployer_sk,

0 commit comments

Comments
 (0)