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

extprom: fix test #6591

Merged
merged 1 commit into from Aug 7, 2023
Merged

extprom: fix test #6591

merged 1 commit into from Aug 7, 2023

Conversation

GiedriusS
Copy link
Member

Fix the test by using proto.Equal() instead of using the not deterministic String(). See
https://github.com/protocolbuffers/protobuf-go/blob/master/internal/encoding/text/encode.go#L229.

Fixes #6590

Fix the test by using proto.Equal() instead of using the not
deterministic String(). See
https://github.com/protocolbuffers/protobuf-go/blob/master/internal/encoding/text/encode.go#L229.

Fixes #6590

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
Copy link
Contributor

@MichaHoffmann MichaHoffmann left a comment

Choose a reason for hiding this comment

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

lgtm

@GiedriusS GiedriusS merged commit 7d0d563 into main Aug 7, 2023
16 checks passed
@GiedriusS GiedriusS deleted the fix_extprom_testrs branch August 7, 2023 09:31
GiedriusS added a commit to vinted/thanos that referenced this pull request Aug 10, 2023
Fix the test by using proto.Equal() instead of using the not
deterministic String(). See
https://github.com/protocolbuffers/protobuf-go/blob/master/internal/encoding/text/encode.go#L229.

Fixes thanos-io#6590

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix TestTxGaugeVec tests
2 participants