[Tests] Fix RetryHttpInitializerWrapperTests.testIOExceptionRetry

This commit gives more time to the IO exception handler to retry the
request.
This commit is contained in:
Tanguy Leroux 2018-02-20 14:54:53 +01:00
parent b5d9774c65
commit 9485b43167
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ public class RetryHttpInitializerWrapperTests extends ESTestCase {
.build();
MockSleeper mockSleeper = new MockSleeper();
RetryHttpInitializerWrapper retryHttpInitializerWrapper = new RetryHttpInitializerWrapper(credential, mockSleeper,
TimeValue.timeValueMillis(500));
TimeValue.timeValueSeconds(30L));
Compute client = new Compute.Builder(fakeTransport, new JacksonFactory(), null)
.setHttpRequestInitializer(retryHttpInitializerWrapper)