Skip to content

Commit

Permalink
fix: remove duplicated calls to AutoValue builders (#2636)
Browse files Browse the repository at this point in the history
This change removes duplicate calls to setters in
`gax-java/gax-grpc/src/test/java/com/google/api/gax/grpc/TimeoutTest.java`.

Fixes #2635 ☕️

Co-authored-by: Blake Li <blakeli@google.com>
  • Loading branch information
cushon and blakeli0 authored Apr 17, 2024
1 parent 76a7b38 commit 53a3727
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ public void testNonRetryUnarySettingsWithoutIndividualRpcTimeout() {
.setMaxAttempts(1)
.setJittered(true)
.setRpcTimeoutMultiplier(1.0)
.setRpcTimeoutMultiplier(1.0)
.build();
CallOptions callOptionsUsed =
setupUnaryCallable(retrySettings, emptyRetryCodes, defaultCallContext);
Expand Down Expand Up @@ -315,7 +314,6 @@ public void testNonRetryServerStreamingSettingsWithoutIndividualRpcTimeout() {
.setMaxAttempts(1)
.setJittered(true)
.setRpcTimeoutMultiplier(1.0)
.setRpcTimeoutMultiplier(1.0)
.build();
CallOptions callOptionsUsed =
setupServerStreamingCallable(retrySettings, emptyRetryCodes, defaultCallContext);
Expand Down

0 comments on commit 53a3727

Please sign in to comment.