Skip to content

Commit 4cc87c7

Browse files
committed
fix: prometheus adjusted expected height
1 parent 576fd41 commit 4cc87c7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,10 @@ fn simple_neon_integration() {
16151615
.unwrap()
16161616
.text()
16171617
.unwrap();
1618-
let expected_result = format!("stacks_node_stacks_tip_height {}", stacks_tip_height);
1618+
let expected_result = format!(
1619+
"stacks_node_stacks_tip_height {}",
1620+
stacks_tip_height - 1_u64
1621+
);
16191622
Ok(res.contains(&expected_result))
16201623
})
16211624
.expect("Timed out waiting for updated stacks tip height in prometheus metrics");

0 commit comments

Comments
 (0)