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

Don't check flush count in internal/stanza converter tests #3130

Conversation

pmalek-sumo
Copy link
Contributor

Description: Don't check flush count - the important bit not check is only the actual number of records in the flushed pdata.Logs.

Link to tracking Issue: #3128

Testing: Tweaked unit tests conditions and add a test case

@codecov
Copy link

codecov bot commented Apr 15, 2021

Codecov Report

Merging #3130 (5c8e90a) into main (81dc441) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3130      +/-   ##
==========================================
+ Coverage   91.59%   91.61%   +0.01%     
==========================================
  Files         486      486              
  Lines       23519    23519              
==========================================
+ Hits        21543    21547       +4     
+ Misses       1466     1463       -3     
+ Partials      510      509       -1     
Flag Coverage Δ
integration 63.30% <ø> (-0.06%) ⬇️
unit 90.61% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
receiver/k8sclusterreceiver/watcher.go 95.29% <0.00%> (-2.36%) ⬇️
internal/stanza/receiver.go 100.00% <0.00%> (+5.88%) ⬆️
...rometheusexecreceiver/subprocessmanager/manager.go 76.00% <0.00%> (+6.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 81dc441...5c8e90a. Read the comment docs.

@tigrannajaryan tigrannajaryan merged commit aaee7c7 into open-telemetry:main Apr 15, 2021
@tigrannajaryan
Copy link
Member

Does this resolve #3128 ?

@pmalek-sumo pmalek-sumo deleted the dont-check-flush-count-in-internal-stanza-converter-tests branch April 15, 2021 17:53
@pmalek-sumo
Copy link
Contributor Author

Does this resolve #3128 ?

Yes, it does.

pmatyjasek-sumo pushed a commit to pmatyjasek-sumo/opentelemetry-collector-contrib that referenced this pull request Apr 28, 2021
…metry#3130)

Don't check flush count - the important bit not check is only the actual number of records in the flushed `pdata.Logs`.

**Link to tracking Issue:** open-telemetry#3128

**Testing:** Tweaked unit tests conditions and add a test case
alexperez52 referenced this pull request in open-o11y/opentelemetry-collector-contrib Aug 18, 2021
This change was a part of #2964 but it's closed now. Having typed
arguments make it easier to massage the arguments before comparing.
Contributing this change for future maintainers.
mstumpfx pushed a commit to mstumpfx/opentelemetry-collector-contrib that referenced this pull request Aug 31, 2021
…metry#3130)

Don't check flush count - the important bit not check is only the actual number of records in the flushed `pdata.Logs`.

**Link to tracking Issue:** open-telemetry#3128

**Testing:** Tweaked unit tests conditions and add a test case
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

Successfully merging this pull request may close these issues.

None yet

4 participants