File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -3949,6 +3949,10 @@ fn idle_tenure_extend_active_mining() {
3949
3949
info!("----- Mining nakamoto block {i} in tenure {t} -----");
3950
3950
3951
3951
signer_test.wait_for_nakamoto_block(30, || {
3952
+ // Stall the miner while we submit transactions, so that they
3953
+ // are all included in the same block
3954
+ TEST_MINE_STALL.set(true);
3955
+
3952
3956
// Throw in a STX transfer to test mixed blocks
3953
3957
let sender_nonce = get_and_increment_nonce(&sender_sk, &mut sender_nonces);
3954
3958
let transfer_tx = make_stacks_transfer(
@@ -3984,6 +3988,7 @@ fn idle_tenure_extend_active_mining() {
3984
3988
}
3985
3989
}
3986
3990
}
3991
+ TEST_MINE_STALL.set(false);
3987
3992
});
3988
3993
let latest_response = signer_test.get_latest_block_response(slot_id);
3989
3994
let naka_blocks = test_observer::get_mined_nakamoto_blocks();
You can’t perform that action at this time.
0 commit comments