-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Remove use of ReportFatalError in generated tests #30579
Labels
cmd/mdatagen
mdatagen command
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
21 tasks
This was referenced Jan 31, 2024
cparkins
pushed a commit
to AmadeusITGroup/opentelemetry-collector-contrib
that referenced
this issue
Feb 1, 2024
…en-telemetry#30903) **Description:** The `assertNoErrorHost` struct was used in tests to check that no error was thrown. However, it uses a deprecated function `ReportFatalError` we are trying to remove from our code. **Link to tracking Issue:** Fixes open-telemetry#30579
bogdandrutu
pushed a commit
to open-telemetry/opentelemetry-collector
that referenced
this issue
Feb 3, 2024
**Description:** Remove use of ReportFatalError in generated tests **Link to tracking Issue:** open-telemetry/opentelemetry-collector-contrib#30579
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component(s)
cmd/mdatagen
Describe the issue you're reporting
The generated tests use an implementation of
Host
that usesReportFatalError
to report errors.Remove this implementation of
Host
from generated code as it is ok for components to report errors during the lifecycle tests.The text was updated successfully, but these errors were encountered: