Skip to content

Commit 1057679

Browse files
committed
test: improve flake by reducing only producing one btc block without checking for stacks blocks
1 parent 91a1398 commit 1057679

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10042,9 +10042,7 @@ fn test_shadow_recovery() {
1004210042
info!("Beginning post-shadow tenures");
1004310043

1004410044
// revive ATC-C by waiting for commits
10045-
for _i in 0..4 {
10046-
next_block_and_commits_only(btc_regtest_controller, 60, &naka_conf, &counters).unwrap();
10047-
}
10045+
next_block_and_commits_only(btc_regtest_controller, 60, &naka_conf, &counters).unwrap();
1004810046

1004910047
// make another tenure
1005010048
next_block_and_mine_commit(btc_regtest_controller, 60, &naka_conf, &counters).unwrap();

0 commit comments

Comments
 (0)