-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
testing: data race between parallel panicking and normal subtest #37551
Comments
Change https://golang.org/cl/221322 mentions this issue: |
Does this need to be backported if it's a race in 1.14? |
@gopherbot Please backport to 1.14. This is a regression that was newly introduced in 1.14. |
Backport issue(s) opened: #37959 (for 1.14). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://golang.org/wiki/MinorReleases. |
Change https://golang.org/cl/224257 mentions this issue: |
This CL fixes a race condition if there are two subtests, and one finishing but the other is panicking. For #37551 Fixes #37959 Change-Id: Ic33963eb338aec228964b95f7c34a0d207b91e00 Reviewed-on: https://go-review.googlesource.com/c/go/+/221322 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> (cherry picked from commit 93a9561) Reviewed-on: https://go-review.googlesource.com/c/go/+/224257 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Reviewed-by: Changkun Ou <euryugasaki@gmail.com>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
What did you see instead?
Data race appears in Go 1.14 and not in Go 1.13.8:
The text was updated successfully, but these errors were encountered: