-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Data Race in Testing #447
Milestone
Comments
Could this be an opportunity to ask to move proprietary exporters out of the main repo? |
Created a ticket to remove vendor exporters. That issue closes this one if it itself is closed. |
rghetia
added a commit
that referenced
this issue
Mar 7, 2020
MikeGoldsmith
pushed a commit
to MikeGoldsmith/opentelemetry-go
that referenced
this issue
Mar 13, 2020
Vendor exporters needed to be hosted outside this codebase. Additionally, remove the http-stackdriver example. Resolves open-telemetry#447 Partially addresses open-telemetry#449 Co-authored-by: Rahul Patel <rahulpa@google.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A recent run of the testing suite revealed a data race in the stackdriver exporter unit tests.
A quick look at the code shows the two lines of the mentioned file show that the contention comes from testing directly setting fields of the mock trace server:
This is in contention with the mock tracer server's own method and resulting in the data race.
Guards around these concurrent values need to be put in place and the unit tests need to be updated to not directly access them.
The text was updated successfully, but these errors were encountered: