Skip to content

Commit

Permalink
Fix Azure repository tests randomly taking many minutes (elastic#88559)
Browse files Browse the repository at this point in the history
If we run into a seed that causes many fake exceptions and thus retries,
a 100ms retry interval will add up to minutes of test time for tests like
`testLargeBlobCountDeletion` that trigger thousands of requests.
There's no reason not to speed this up by 10x via more aggressive retry
timings as far as I can see so I reduced the timings to avoid randomly
blocked tests.
  • Loading branch information
original-brownbear authored Jul 20, 2022
1 parent 160b14f commit 377ad77
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ RequestRetryOptions getRetryOptions(LocationMode locationMode, AzureStorageSetti
RetryPolicyType.EXPONENTIAL,
azureStorageSettings.getMaxRetries() + 1,
60,
50L,
100L,
5L,
10L,
null
);
}
Expand Down

0 comments on commit 377ad77

Please sign in to comment.