Skip to content

Commit 011cf73

Browse files
committed
increased mining timeout in mock_mining and partial_tenure_fork
1 parent 4706d74 commit 011cf73

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

testnet/stacks-node/src/tests/nakamoto_integrations.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8838,7 +8838,8 @@ fn mock_mining() {
88388838

88398839
info!("Booting follower-thread, waiting for the follower to sync to the chain tip");
88408840

8841-
wait_for(120, || {
8841+
// use a high timeout for avoiding problem with github workflow
8842+
wait_for(600, || {
88428843
let Some(miner_node_info) = get_chain_info_opt(&naka_conf) else {
88438844
return Ok(false);
88448845
};

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4971,7 +4971,8 @@ fn partial_tenure_fork() {
49714971
info!("-------- Waiting miner 2 to catch up to miner 1 --------");
49724972

49734973
// Wait for miner 2 to catch up to miner 1
4974-
wait_for(60, || {
4974+
// (note: use a high timeout to avoid potential failing on github workflow)
4975+
wait_for(600, || {
49754976
let info_1 = get_chain_info(&conf);
49764977
let info_2 = get_chain_info(&conf_node_2);
49774978
Ok(info_1.stacks_tip_height == info_2.stacks_tip_height)

0 commit comments

Comments
 (0)