Skip to content

[chore][exporter/datadogexporter] fix data race in tests again #39802

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

songy23
Copy link
Member

@songy23 songy23 commented Apr 30, 2025

Description

Having both the otlp grpc exporter & otlp grpc recevier in the tests introduces data race, so move all tests to use HTTP instead. Also make sure to properly close all go routines before tests complete.

Link to tracking issue

Fixes #39782
Fixes #39780
Fixes #39519
Fixes http://github.com/open-telemetry/opentelemetry-collector-contrib/issues/39804

@songy23 songy23 added the Run Windows Enable running windows test on a PR label Apr 30, 2025
@songy23 songy23 marked this pull request as ready for review April 30, 2025 23:39
@songy23 songy23 requested a review from a team as a code owner April 30, 2025 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/datadog Datadog components Run Windows Enable running windows test on a PR
Projects
None yet
2 participants