Skip to content

Commit 198843e

Browse files
committed
chore: fix failing tests
1 parent 4b1e3e5 commit 198843e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

stackslib/src/clarity_vm/tests/large_contract.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ fn test_simple_token_system(#[case] version: ClarityVersion, #[case] epoch: Stac
168168
| StacksEpochId::Epoch23
169169
| StacksEpochId::Epoch24
170170
| StacksEpochId::Epoch25
171-
| StacksEpochId::Epoch30 => {
171+
| StacksEpochId::Epoch30
172+
| StacksEpochId::Epoch31 => {
172173
let (ast, _analysis) = tx
173174
.analyze_smart_contract(
174175
&boot_code_id("costs-3", false),

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3807,8 +3807,13 @@ fn follower_bootup_across_multiple_cycles() {
38073807
.reward_cycle_length
38083808
* 2
38093809
{
3810+
let commits_before = commits_submitted.load(Ordering::SeqCst);
38103811
next_block_and_process_new_stacks_block(&mut btc_regtest_controller, 60, &coord_channel)
38113812
.unwrap();
3813+
wait_for(20, || {
3814+
Ok(commits_submitted.load(Ordering::SeqCst) > commits_before)
3815+
})
3816+
.unwrap();
38123817
}
38133818

38143819
info!("Nakamoto miner has advanced two reward cycles");

0 commit comments

Comments
 (0)