Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Fix misinterpretation of maxAttempts#497

Merged
garrettjonesgoogle merged 3 commits intogoogleapis:masterfrom
igorbernstein2:fix-max-retries
Mar 15, 2018
Merged

Fix misinterpretation of maxAttempts#497
garrettjonesgoogle merged 3 commits intogoogleapis:masterfrom
igorbernstein2:fix-max-retries

Conversation

@igorbernstein2
Copy link
Contributor

0 means unlimited attempts not disable retries. Also:

  • add some tests to prevent this from happening again
  • fix a broken test

0 means unlimited attempts not disable retries. Also, add some tests to prevent this from happening again.
@codecov-io
Copy link

codecov-io commented Mar 14, 2018

Codecov Report

Merging #497 into master will increase coverage by 0.23%.
The diff coverage is 75%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #497      +/-   ##
============================================
+ Coverage      70.5%   70.73%   +0.23%     
- Complexity      810      811       +1     
============================================
  Files           165      165              
  Lines          3774     3773       -1     
  Branches        289      286       -3     
============================================
+ Hits           2661     2669       +8     
+ Misses          990      982       -8     
+ Partials        123      122       -1
Impacted Files Coverage Δ Complexity Δ
...a/com/google/api/gax/grpc/GrpcCallableFactory.java 69.81% <100%> (+2.53%) 7 <0> (-1) ⬇️
...rc/main/java/com/google/api/gax/rpc/Callables.java 66.66% <66.66%> (+3.03%) 7 <2> (+1) ⬆️
.../java/com/google/api/gax/grpc/GrpcCallContext.java 80% <0%> (+6.66%) 31% <0%> (+1%) ⬆️

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 b0661c3...a7a370e. Read the comment docs.

@garrettjonesgoogle
Copy link
Member

@vam-google could you take a look?

Copy link
Contributor

@vam-google vam-google left a comment

Choose a reason for hiding this comment

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

LGTM

@igorbernstein2
Copy link
Contributor Author

Please merge when ready

@garrettjonesgoogle garrettjonesgoogle merged commit 9fb33f0 into googleapis:master Mar 15, 2018
@igorbernstein2 igorbernstein2 deleted the fix-max-retries branch March 18, 2018 06:28
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.

4 participants

Comments