Skip to content

Fix TraceableExecutorService#1437

Merged
marcingrzejszczak merged 1 commit intospring-cloud:masterfrom
koozz:patch-1
Sep 5, 2019
Merged

Fix TraceableExecutorService#1437
marcingrzejszczak merged 1 commit intospring-cloud:masterfrom
koozz:patch-1

Conversation

@koozz
Copy link
Contributor

@koozz koozz commented Sep 5, 2019

TraceableExecutorService swallows Exception because execute submits a Runnable and ignores the Future's result. It should call the delegates execute method instead of the submit.

TraceableExecutorService swallows Exception because `execute` submits a Runnable and ignores the Future's result. It should call the delegates `execute` method instead of the `submit`.
@codecov
Copy link

codecov bot commented Sep 5, 2019

Codecov Report

Merging #1437 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1437   +/-   ##
=========================================
  Coverage     57.61%   57.61%           
  Complexity      796      796           
=========================================
  Files           150      150           
  Lines          4287     4287           
  Branches        460      460           
=========================================
  Hits           2470     2470           
  Misses         1606     1606           
  Partials        211      211
Impacted Files Coverage Δ Complexity Δ
...uth/instrument/async/TraceableExecutorService.java 72.09% <100%> (ø) 22 <2> (ø) ⬇️

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 9a01b39...bd7cb89. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Sep 5, 2019

Codecov Report

Merging #1437 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1437   +/-   ##
=========================================
  Coverage     57.61%   57.61%           
  Complexity      796      796           
=========================================
  Files           150      150           
  Lines          4287     4287           
  Branches        460      460           
=========================================
  Hits           2470     2470           
  Misses         1606     1606           
  Partials        211      211
Impacted Files Coverage Δ Complexity Δ
...uth/instrument/async/TraceableExecutorService.java 72.09% <100%> (ø) 22 <2> (ø) ⬇️

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 9a01b39...bd7cb89. Read the comment docs.

@marcingrzejszczak marcingrzejszczak merged commit ab5194d into spring-cloud:master Sep 5, 2019
@marcingrzejszczak
Copy link
Contributor

😱 thanks for the great catch!

@marcingrzejszczak marcingrzejszczak added this to the 2.1.3.RELEASE milestone Sep 5, 2019
marcingrzejszczak pushed a commit that referenced this pull request Sep 5, 2019
TraceableExecutorService swallows Exception because `execute` submits a Runnable and ignores the Future's result. It should call the delegates `execute` method instead of the `submit`.
@koozz
Copy link
Contributor Author

koozz commented Sep 5, 2019

scream thanks for the great catch!

Credit goes to: @tdons

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants