Skip to content

Commit

Permalink
Update integration test to have a lower bound
Browse files Browse the repository at this point in the history
Unfortunately, the GitLab integration test does not appear to be
deterministic. Sometimes 36390 chunks are found, sometimes 36312, or
even lower.
  • Loading branch information
mcastorina committed Feb 8, 2024
1 parent ef83c2c commit c86bef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/engine/gitlab_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ func TestGitLab(t *testing.T) {

// Check the output provided by metrics.
metrics := e.GetMetrics()
assert.GreaterOrEqual(t, metrics.ChunksScanned, uint64(36390))
assert.GreaterOrEqual(t, metrics.BytesScanned, uint64(92662889))
assert.GreaterOrEqual(t, metrics.ChunksScanned, uint64(36312))
assert.GreaterOrEqual(t, metrics.BytesScanned, uint64(91618854))
}

0 comments on commit c86bef7

Please sign in to comment.