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

Adds Mimir integration tests #419

Merged
merged 11 commits into from
May 7, 2024
Merged

Adds Mimir integration tests #419

merged 11 commits into from
May 7, 2024

Conversation

spinillos
Copy link
Member

@spinillos spinillos commented Apr 18, 2024

Contributes to #415

It adds Mimir configuration to docker-compose and an two integration tests to send and retrieve the rules.

The test adds one ugly second of delay between tests because Mimir takes some time to sync the rules. Setting poll_interval to 1s in rules configuration, speeds up the sync, but we still need this small delay to avoid 500 error responses.

Note: It could be nice have this #406 merged first to be able to add more use cases and use http client.

@spinillos spinillos requested a review from a team as a code owner April 18, 2024 14:30
@spinillos spinillos marked this pull request as draft April 18, 2024 14:30
@spinillos spinillos marked this pull request as ready for review April 29, 2024 15:29
test-docker-compose/nginx.conf Outdated Show resolved Hide resolved
test-docker-compose/nginx.conf Outdated Show resolved Hide resolved
integration/mimir/testdata/test-rules-1.yml Outdated Show resolved Hide resolved
spinillos and others added 4 commits May 6, 2024 17:40
Co-authored-by: malcolmholmes <42545407+malcolmholmes@users.noreply.github.com>
Co-authored-by: malcolmholmes <42545407+malcolmholmes@users.noreply.github.com>
Copy link
Contributor

@malcolmholmes malcolmholmes left a comment

Choose a reason for hiding this comment

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

These are great tests!

@spinillos spinillos merged commit 38c6a96 into main May 7, 2024
7 checks passed
@spinillos spinillos deleted the mimir-integration-tests branch May 7, 2024 12:09
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