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

Document incompatibility of VerifyNone with t.Parallel #107

Merged
merged 2 commits into from Oct 12, 2023

Conversation

JacobOaks
Copy link
Contributor

It's a known issue that goleak is incompatible with tests being run in parallel.

Unfortunately, there is no real solution to this issue.

This PR at least documents the incompatibility
and suggests using VerifyTestMain instead.

It's a known issue that goleak is incompatible with tests being run in parallel.
* uber-go#16
* uber-go#83

Unfortunately, there is no real solution to this issue.
* uber-go#16 (comment)
* uber-go#83 (comment)
* uber-go#83 (comment)

This PR at least documents the incompatibility
and suggests using `VerifyTestMain` instead.
@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Merging #107 (7a1ce0a) into master (3e8744f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #107   +/-   ##
=======================================
  Coverage   96.58%   96.58%           
=======================================
  Files           5        5           
  Lines         234      234           
=======================================
  Hits          226      226           
  Misses          5        5           
  Partials        3        3           
Files Coverage Δ
leaks.go 100.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sywhang sywhang merged commit 03cb6e6 into uber-go:master Oct 12, 2023
5 checks passed
@mway mway mentioned this pull request Oct 24, 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.

None yet

3 participants