-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[chore] fix TestProcessTelemetryWithHostProc test #11222
[chore] fix TestProcessTelemetryWithHostProc test #11222
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11222 +/- ##
=======================================
Coverage 91.79% 91.80%
=======================================
Files 424 424
Lines 20094 20094
=======================================
+ Hits 18445 18447 +2
+ Misses 1269 1268 -1
+ Partials 380 379 -1 ☔ View full report in Codecov by Sentry. |
I'm curious why this test isn't failing here: #11208 |
Is it possible that this test is flaky in its current state, because the cpu seconds may sometimes be more than zero for these metrics, but sometimes not? It seems from looking at it that if you want this condition to catch those specific parameters, we should add this change. These are the parameters this test is testing, no? |
seems like this test just missed getting updated when the metrics were changed to add an "otelcol_" prefix: |
#### Description Fixes failing unit test TestProcessTelemetryWithHostProc under service/internal/proctelemetry/process_telemetry_linux_test.go due to incorrect metric name #### Link to tracking issue Fixes [open-telemetry#11221](open-telemetry#11221)
#### Description Fixes failing unit test TestProcessTelemetryWithHostProc under service/internal/proctelemetry/process_telemetry_linux_test.go due to incorrect metric name #### Link to tracking issue Fixes [open-telemetry#11221](open-telemetry#11221)
Description
Fixes failing unit test TestProcessTelemetryWithHostProc under service/internal/proctelemetry/process_telemetry_linux_test.go due to incorrect metric name
Link to tracking issue
Fixes #11221
Testing
unit tests
Documentation
none