Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration tests: increase TSDB retention time of prometheus #1458

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

mariomac
Copy link
Contributor

I can't remember under which assumption we set the tsdb retention time to 1m, but this causes some tests to be flaky (metrics disappear before the tests check them).

TSDB retention time doesn't save any actual resource usage, as the TSDB is internal to the container, and the data is wiped out when the container is destroyed.

@mariomac mariomac marked this pull request as ready for review December 13, 2024 14:36
Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.79%. Comparing base (ecebdff) to head (cbd7a72).
Report is 2 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (ecebdff) and HEAD (cbd7a72). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (ecebdff) HEAD (cbd7a72)
unittests 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1458      +/-   ##
==========================================
- Coverage   81.13%   72.79%   -8.35%     
==========================================
  Files         149      148       -1     
  Lines       15321    15312       -9     
==========================================
- Hits        12431    11146    -1285     
- Misses       2277     3429    +1152     
- Partials      613      737     +124     
Flag Coverage Δ
integration-test 59.64% <ø> (+<0.01%) ⬆️
k8s-integration-test 60.59% <ø> (-0.01%) ⬇️
oats-test 33.85% <ø> (ø)
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@grcevski grcevski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mariomac mariomac merged commit 627e23e into grafana:main Dec 13, 2024
13 checks passed
@mariomac mariomac deleted the fix-itest branch December 13, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants