Skip to content

Commit cbc9406

Browse files
authored
Merge pull request #5670 from stacks-network/fix/ci_mock_mining_and_partial_tenure_fork
Increased mining timeout in mock_mining and partial_tenure_fork integration tests
2 parents 9db2f80 + 011cf73 commit cbc9406

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
@@ -8850,7 +8850,8 @@ fn mock_mining() {
88508850

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

8853-
wait_for(120, || {
8853+
// use a high timeout for avoiding problem with github workflow
8854+
wait_for(600, || {
88548855
let Some(miner_node_info) = get_chain_info_opt(&naka_conf) else {
88558856
return Ok(false);
88568857
};

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

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

49764976
// Wait for miner 2 to catch up to miner 1
4977-
wait_for(60, || {
4977+
// (note: use a high timeout to avoid potential failing on github workflow)
4978+
wait_for(600, || {
49784979
let info_1 = get_chain_info(&conf);
49794980
let info_2 = get_chain_info(&conf_node_2);
49804981
Ok(info_1.stacks_tip_height == info_2.stacks_tip_height)

0 commit comments

Comments
 (0)