Skip to content

Commit

Permalink
fix: we now report the actual block height
Browse files Browse the repository at this point in the history
  • Loading branch information
jcnelson committed Nov 7, 2024
1 parent 3fb6d6f commit 5fdaaf0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions testnet/stacks-node/src/tests/nakamoto_integrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1631,10 +1631,8 @@ fn simple_neon_integration() {
tip.stacks_block_height
);

let expected_result_2 = format!(
"stacks_node_stacks_tip_height {}",
tip.stacks_block_height - 1
);
let expected_result_2 =
format!("stacks_node_stacks_tip_height {}", tip.stacks_block_height);
Ok(res.contains(&expected_result_1) && res.contains(&expected_result_2))
})
.expect("Prometheus metrics did not update");
Expand Down

0 comments on commit 5fdaaf0

Please sign in to comment.