Skip to content

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

Merged
MrAlias merged 9 commits intoopen-telemetry:mainfrom
open-o11y:checkBspPostShutdown
Apr 6, 2021
Merged

Add test to check bsp ignores OnEnd and ForceFlush post Shutdown`#1772
MrAlias merged 9 commits intoopen-telemetry:mainfrom
open-o11y:checkBspPostShutdown

Conversation

@cynthiakedu
Copy link
Copy Markdown
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
Copy Markdown

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%) ⬆️

Comment thread sdk/trace/batch_span_processor_test.go Outdated
Comment thread sdk/trace/batch_span_processor_test.go Outdated
Comment thread sdk/trace/batch_span_processor_test.go Outdated
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>
@cynthiakedu cynthiakedu force-pushed the checkBspPostShutdown branch from d96b2b4 to 7bdb697 Compare April 5, 2021 18:23
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
@cynthiakedu cynthiakedu force-pushed the checkBspPostShutdown branch from 7bdb697 to b030d4d Compare April 5, 2021 18:24
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.

4 participants