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

Add tests for pkg/util/test.AssertGatherAndCompare #9543

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

aknuds1
Copy link
Contributor

@aknuds1 aknuds1 commented Oct 7, 2024

What this PR does

Add tests for pkg/util/test.AssertGatherAndCompare. Also fix said function for when no metrics are provided.

Which issue(s) this PR fixes or relates to

Checklist

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

@aknuds1 aknuds1 requested a review from krajorama October 7, 2024 13:52
@aknuds1 aknuds1 requested a review from a team as a code owner October 7, 2024 13:52
@aknuds1 aknuds1 enabled auto-merge (squash) October 7, 2024 14:03
@aknuds1 aknuds1 added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Oct 7, 2024
@aknuds1 aknuds1 merged commit e78254e into main Oct 7, 2024
33 checks passed
@aknuds1 aknuds1 deleted the arve/add-gather-tests branch October 7, 2024 14:29
krajorama added a commit that referenced this pull request Oct 15, 2024
krajorama added a commit that referenced this pull request Oct 16, 2024
* Test client_golang 1.20.5

Signed-off-by: György Krajcsovits <[email protected]>

* Revert "Add tests for pkg/util/test.AssertGatherAndCompare (#9543)"

This reverts commit e78254e.

* Revert "Update module github.com/prometheus/client_golang to v1.20.4 (main) (#9307)"

This reverts commit cd1294b.

# Conflicts:
#	go.sum
#	vendor/github.com/prometheus/client_golang/prometheus/testutil/testutil.go
#	vendor/modules.txt

* Clear go.mod replace

Signed-off-by: György Krajcsovits <[email protected]>

* Update mimir-prometheus at 5e9a771537ba

To get grafana/mimir-prometheus#718
client_golang update to 1.20.5 to revert breaking changes to
test utils.

Signed-off-by: György Krajcsovits <[email protected]>

* Apply suggestions from code review

Co-authored-by: Arve Knudsen <[email protected]>

* Apply suggestions

Signed-off-by: György Krajcsovits <[email protected]>

---------

Signed-off-by: György Krajcsovits <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants