Skip to content

Commit

Permalink
#2868: decrease number of retries in testMultipleRetriesWithResponse …
Browse files Browse the repository at this point in the history
…after having maxed out the value of GrpcStoreResilienceITest.NUMBER_OF_ATTEMPTS
  • Loading branch information
Mattia Brescia committed Jun 3, 2024
1 parent 7d696c3 commit 5e7744a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public void run() {
void testMultipleRetriesWithResponse() {
// see issue #2868
// assuming two attempts on each iteration using blockingStub.withWaitForReady
for (int i = 1; i < NUMBER_OF_ATTEMPTS / 2; i++) {
for (int i = 1; i < 100 / 2; i++) {
// break upstream call
proxy.toxics().resetPeer("immediate reset", ToxicDirection.UPSTREAM, 1);
new Timer()
Expand Down

0 comments on commit 5e7744a

Please sign in to comment.