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

[test] fix flaky telemetry zpages test #6324

Merged

Conversation

paivagustavo
Copy link
Member

Description: Integration tests failed becausezpages failed to start (because the port was not available, see #6323 (comment) for more context) which led to leak of telemetryInitializer resources.

Link to tracking Issue: #6323

@paivagustavo paivagustavo requested review from a team and jpkrohling October 15, 2022 23:33
@codecov
Copy link

codecov bot commented Oct 15, 2022

Codecov Report

Base: 92.06% // Head: 91.88% // Decreases project coverage by -0.17% ⚠️

Coverage data is based on head (d75fc60) compared to base (ee02bc7).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6324      +/-   ##
==========================================
- Coverage   92.06%   91.88%   -0.18%     
==========================================
  Files         219      235      +16     
  Lines       13242    13673     +431     
==========================================
+ Hits        12191    12564     +373     
- Misses        828      884      +56     
- Partials      223      225       +2     
Impacted Files Coverage Δ
pdata/plog/pb.go 71.42% <0.00%> (-28.58%) ⬇️
pdata/ptrace/pb.go 71.42% <0.00%> (-28.58%) ⬇️
pdata/pmetric/pb.go 71.42% <0.00%> (-28.58%) ⬇️
pdata/ptrace/json.go 53.33% <0.00%> (-26.67%) ⬇️
pdata/pmetric/json.go 53.33% <0.00%> (-26.67%) ⬇️
pdata/plog/json.go 73.33% <0.00%> (-26.67%) ⬇️
exporter/loggingexporter/factory.go 94.18% <0.00%> (-5.82%) ⬇️
confmap/resolver.go 96.34% <0.00%> (-1.80%) ⬇️
service/flags.go 100.00% <0.00%> (ø)
pdata/internal/otlp/logs.go 100.00% <0.00%> (ø)
... and 32 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@paivagustavo paivagustavo force-pushed the gustavo/fix_flaky_collector_tests branch from 197964b to d75fc60 Compare October 19, 2022 18:01
@paivagustavo paivagustavo changed the title shutdown telemetryInitializer when service fails to start [test] fix flaky telemetry zpages test Oct 19, 2022
@paivagustavo
Copy link
Member Author

@bogdandrutu I've removed the collector.go changes since #6351 is addressing it.

@bogdandrutu bogdandrutu added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Oct 25, 2022
@bogdandrutu bogdandrutu reopened this Oct 25, 2022
@bogdandrutu bogdandrutu merged commit 2ed9214 into open-telemetry:main Oct 25, 2022
@paivagustavo paivagustavo deleted the gustavo/fix_flaky_collector_tests branch October 25, 2022 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants