diff --git a/testnet/stacks-node/src/tests/signer/v0.rs b/testnet/stacks-node/src/tests/signer/v0.rs index 4002899cf1..0c570a9083 100644 --- a/testnet/stacks-node/src/tests/signer/v0.rs +++ b/testnet/stacks-node/src/tests/signer/v0.rs @@ -2960,7 +2960,10 @@ fn idle_tenure_extend_active_mining() { |config| { config.tenure_idle_timeout = idle_timeout; }, - |_| {}, + |config| { + // accept all proposals in the node + config.connection_options.block_proposal_max_age_secs = u64::MAX; + }, None, None, ); @@ -2981,7 +2984,7 @@ fn idle_tenure_extend_active_mining() { // Add a delay to the block validation process TEST_VALIDATE_DELAY_DURATION_SECS.lock().unwrap().replace(3); - signer_test.mine_nakamoto_block(Duration::from_secs(30), true); + signer_test.mine_nakamoto_block(Duration::from_secs(60), true); info!("---- Getting current idle timeout ----"); @@ -6159,9 +6162,16 @@ fn miner_recovers_when_broadcast_block_delay_across_tenures_occurs() { let send_fee = 180; let nmb_txs = 3; let recipient = PrincipalData::from(StacksAddress::burn_address(false)); - let mut signer_test: SignerTest = SignerTest::new( + let mut signer_test: SignerTest = SignerTest::new_with_config_modifications( num_signers, vec![(sender_addr, (send_amt + send_fee) * nmb_txs)], + |_config| {}, + |config| { + // Accept all block proposals + config.connection_options.block_proposal_max_age_secs = u64::MAX; + }, + None, + None, ); let http_origin = format!("http://{}", &signer_test.running_nodes.conf.node.rpc_bind); signer_test.boot_to_epoch_3();