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

Fix charts tests increasing prometheus retention time in dev docker compose #2246

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

arbulu89
Copy link
Contributor

@arbulu89 arbulu89 commented Feb 1, 2024

Description

Fix charts tests increasing prometheus retention time in dev docker compose.
Without this, the default retention time of 15 days was removing the samples coming in the snapshot.
Unfortunately, this is not 100% fix, as after 5 years, the tests might start failling again, but I didn't find anything better without changing completely how the tests are done.

Mocking the prometheus server could an option, but this would remove the real integration test that we do now with the current tests.

How was this tested?

Tested manually over some days

@arbulu89 arbulu89 added the bug Something isn't working label Feb 1, 2024
@arbulu89 arbulu89 force-pushed the fix-charts-test-prometheus-retention branch from 9a2283b to 1c4492c Compare February 1, 2024 08:49
@CDimonaco
Copy link
Member

CDimonaco commented Feb 1, 2024

Thanks for spotting that bug!

@arbulu89 arbulu89 marked this pull request as ready for review February 1, 2024 08:59
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

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

🔥

Copy link
Member

@EMaksy EMaksy left a comment

Choose a reason for hiding this comment

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

Great!

@arbulu89 arbulu89 merged commit c8ed474 into main Feb 1, 2024
23 checks passed
@arbulu89 arbulu89 deleted the fix-charts-test-prometheus-retention branch February 1, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

4 participants