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

Mimir query engine: sync upstream test cases #8911

Merged
merged 4 commits into from
Aug 6, 2024

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented Aug 6, 2024

What this PR does

This PR syncs the upstream test cases in pkg/streamingpromql/testdata/upstream with those from Prometheus, and adds a test to enforce that they remain in sync in the future.

Many of the test cases had minor whitespace differences which I've corrected.

Most of the new test cases are for features that are currently not supported by MQE.

There is one new test case in aggregators.test (source) that currently fails. This test was introduced as part of prometheus/prometheus#14074, and we'll have to implement something similar to what that PR does. I've left this for a follow-up PR, however.

Which issue(s) this PR fixes or relates to

(none)

Checklist

  • Tests updated.
  • [n/a] Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • [n/a] about-versioning.md updated with experimental features.

@charleskorn charleskorn force-pushed the charleskorn/sync-mqe-tests branch from 8bb8d4f to 8fa615d Compare August 6, 2024 06:11
@charleskorn charleskorn force-pushed the charleskorn/sync-mqe-tests branch from 8fa615d to a840fdb Compare August 6, 2024 06:15
@charleskorn charleskorn marked this pull request as ready for review August 6, 2024 06:15
@charleskorn charleskorn requested a review from a team as a code owner August 6, 2024 06:15
@charleskorn charleskorn enabled auto-merge (squash) August 6, 2024 06:23
@charleskorn charleskorn merged commit 6b1f8f3 into main Aug 6, 2024
29 checks passed
@charleskorn charleskorn deleted the charleskorn/sync-mqe-tests branch August 6, 2024 06:29
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