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

Add test to check bsp ignores OnEnd and ForceFlush post Shutdown` #1772

Merged
merged 9 commits into from
Apr 6, 2021

Conversation

cynthiakedu
Copy link
Contributor

Add test for #1617.

In #1746, discussed and decided to not add any additional short circuit to ignore OnEnd and ForceFlush post Shutdown -- these methods are already ignored. Instead, adding a test to check that this behavior is enforced and will be in the future.

@codecov
Copy link

codecov bot commented Apr 2, 2021

Codecov Report

Merging #1772 (89a9833) into main (e9aaa04) will increase coverage by 0.0%.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #1772   +/-   ##
=====================================
  Coverage   78.7%   78.8%           
=====================================
  Files        134     134           
  Lines       7144    7144           
=====================================
+ Hits        5626    5630    +4     
+ Misses      1272    1268    -4     
  Partials     246     246           
Impacted Files Coverage Δ
sdk/trace/batch_span_processor.go 83.9% <0.0%> (+3.0%) ⬆️

sdk/trace/batch_span_processor_test.go Outdated Show resolved Hide resolved
sdk/trace/batch_span_processor_test.go Outdated Show resolved Hide resolved
sdk/trace/batch_span_processor_test.go Outdated Show resolved Hide resolved
cynthiakedu and others added 3 commits April 5, 2021 13:51
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
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.

3 participants