Skip to content

Commit d805368

Browse files
committed
ci: "at least" means >=, not > in tests
1 parent 8809f91 commit d805368

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8486,8 +8486,10 @@ fn mock_mining() {
84868486
let mock_mining_blocks_end = follower_naka_mined_blocks.load(Ordering::SeqCst);
84878487
let blocks_mock_mined = mock_mining_blocks_end - mock_mining_blocks_start;
84888488
assert!(
8489-
blocks_mock_mined > tenure_count,
8490-
"Should have mock mined at least `tenure_count` nakamoto blocks"
8489+
blocks_mock_mined >= tenure_count,
8490+
"Should have mock mined at least `tenure_count` nakamoto blocks. Mined = {}. Expected = {}",
8491+
blocks_mock_mined,
8492+
tenure_count,
84918493
);
84928494

84938495
// wait for follower to reach the chain tip

0 commit comments

Comments
 (0)