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

identify: Fix flaky TestMetricsNoAllocNoCover test #2142

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

MarcoPolo
Copy link
Collaborator

The reason TestMetricsNoAllocNoCover is flaky is because go-libp2p-asn-util spawns a background task in init that does heap allocations.

Verified

This commit was signed with the committer’s verified signature.
MarcoPolo Marco Munizaga
@MarcoPolo MarcoPolo merged commit cbcdd79 into master Feb 24, 2023
marten-seemann added a commit that referenced this pull request Feb 24, 2023
marten-seemann added a commit that referenced this pull request Feb 24, 2023
marten-seemann added a commit that referenced this pull request Feb 24, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* relay: initialize the ASN util when starting the service

* Revert "Fix flaky TestMetricsNoAllocNoCover test (#2142)"

This reverts commit cbcdd79.
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.

None yet

2 participants