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

otel remote_write fails when run with -race #40

Open
kirbyquerby opened this issue Sep 13, 2021 · 0 comments
Open

otel remote_write fails when run with -race #40

kirbyquerby opened this issue Sep 13, 2021 · 0 comments

Comments

@kirbyquerby
Copy link

When running the remote_write tests for the OpenTelemetry collector with the -race flag:

go test -race --tags=compliance -run "TestRemoteWrite/otel/.+" -v ./

The tests fail due to data races: https://gist.github.com/kirbyquerby/59e4e57d59ba131307fb3d9ac2a4e35d

This issue was found when adding these tests to the OpenTelemetry collector (open-telemetry/opentelemetry-collector-contrib/pull/5014), as the tests in the collector are run with -race.

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

No branches or pull requests

1 participant