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: more stable prometheus test #9944

Merged
merged 1 commit into from
Jun 13, 2023
Merged

fix: more stable prometheus test #9944

merged 1 commit into from
Jun 13, 2023

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Jun 13, 2023

Since we upgraded go-libp2p this test has become very unreliable. Sometimes libp2p outputs the same metric only once, sometimes twice.

Instead of checking for the exact output metrics, we now compare with the unique set of metrics "are they all present?". This is enough to ensure we have the same metrics, and more reliable.

@hacdias hacdias requested a review from a team as a code owner June 13, 2023 12:24
Copy link
Contributor

@Jorropo Jorropo left a comment

Choose a reason for hiding this comment

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

LGTM

test/sharness/t0119-prometheus.sh Outdated Show resolved Hide resolved
@hacdias
Copy link
Member Author

hacdias commented Jun 13, 2023

Merging. Web UI interop is failing everywhere (see #9940).

@hacdias hacdias merged commit 18db593 into master Jun 13, 2023
@hacdias hacdias deleted the prometheus branch June 13, 2023 12:44
hacdias added a commit that referenced this pull request Jun 15, 2023
hacdias added a commit that referenced this pull request Jun 15, 2023
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