Skip to content

Commit 82b9b68

Browse files
committed
test: reduce timeouts and flakiness in idle_tenure_extend_active_mining
1 parent bd09555 commit 82b9b68

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3606,7 +3606,7 @@ fn idle_tenure_extend_active_mining() {
36063606
let amount =
36073607
deploy_fee + tx_fee * num_txs * tenure_count * num_naka_blocks * 100 + 100 * tenure_count;
36083608
let recipient = PrincipalData::from(StacksAddress::burn_address(false));
3609-
let idle_timeout = Duration::from_secs(60);
3609+
let idle_timeout = Duration::from_secs(30);
36103610
let mut signer_test: SignerTest<SpawnedSigner> = SignerTest::new_with_config_modifications(
36113611
num_signers,
36123612
vec![(sender_addr, amount), (deployer_addr, amount)],
@@ -3793,7 +3793,7 @@ fn idle_tenure_extend_active_mining() {
37933793
);
37943794

37953795
// Now, wait for the idle timeout to trigger
3796-
wait_for(extend_diff + 30, || {
3796+
wait_for(idle_timeout.as_secs() * 2, || {
37973797
Ok(last_block_contains_tenure_change_tx(
37983798
TenureChangeCause::Extended,
37993799
))

0 commit comments

Comments
 (0)