Skip to content
This repository was archived by the owner on Jul 1, 2022. It is now read-only.

Conversation

@quaff
Copy link
Contributor

@quaff quaff commented Mar 24, 2020

Fix #699

@codecov
Copy link

codecov bot commented Mar 24, 2020

Codecov Report

Merging #701 into master will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #701      +/-   ##
============================================
- Coverage     89.57%   89.55%   -0.03%     
- Complexity      587      588       +1     
============================================
  Files            70       70              
  Lines          2159     2164       +5     
  Branches        282      284       +2     
============================================
+ Hits           1934     1938       +4     
  Misses          136      136              
- Partials         89       90       +1     
Impacted Files Coverage Δ Complexity Δ
...racing/internal/propagation/TraceContextCodec.java 79.10% <100.00%> (+1.68%) 17.00 <0.00> (+2.00)
...ing/internal/samplers/RemoteControlledSampler.java 91.25% <0.00%> (-1.25%) 16.00% <0.00%> (-1.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 b50aa15...d20e2b6. Read the comment docs.

try {
verify(System.out).write(captor.capture());
verify(System.out, atLeast(0)).write(captor.capture(), anyInt(), anyInt());
// gradle will call write(byte[]) instead of write(byte[],off,len)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does "gradle" have to do with unit test?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gradle output log via write(byte[]) and eclipse output log via write(byte[],int,int) , before this change, tests failed with eclipse junit runner. I know this is fragile, but I cannot find a better way to assert log message.

@quaff
Copy link
Contributor Author

quaff commented Apr 26, 2020

ping

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
@yurishkuro yurishkuro merged commit 22f4ae6 into jaegertracing:master Apr 27, 2020
@yurishkuro
Copy link
Member

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Supports "jaeger-debug-id" in W3C TraceContextCodec

3 participants