Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increased mining timeout in mock_mining and partial_tenure_fork integration tests #5670

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion testnet/stacks-node/src/tests/nakamoto_integrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8838,7 +8838,8 @@ fn mock_mining() {

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

wait_for(120, || {
// use a high timeout for avoiding problem with github workflow
wait_for(600, || {
let Some(miner_node_info) = get_chain_info_opt(&naka_conf) else {
return Ok(false);
};
Expand Down
3 changes: 2 additions & 1 deletion testnet/stacks-node/src/tests/signer/v0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4971,7 +4971,8 @@ fn partial_tenure_fork() {
info!("-------- Waiting miner 2 to catch up to miner 1 --------");

// Wait for miner 2 to catch up to miner 1
wait_for(60, || {
// (note: use a high timeout to avoid potential failing on github workflow)
wait_for(600, || {
let info_1 = get_chain_info(&conf);
let info_2 = get_chain_info(&conf_node_2);
Ok(info_1.stacks_tip_height == info_2.stacks_tip_height)
Expand Down
Loading