public class AmazonHttpClientAdaptiveRetriesTest extends Object
Modifier and Type | Field and Description |
---|---|
ConnectionManagerAwareHttpClient |
mockApache |
ExpectedException |
thrown |
Constructor and Description |
---|
AmazonHttpClientAdaptiveRetriesTest() |
Modifier and Type | Method and Description |
---|---|
HttpResponseHandler<AmazonServiceException> |
createStubErrorResponseHandler(AmazonServiceException e) |
void |
execute_acquireReturnsFalse_throws() |
void |
execute_acquiresToken() |
void |
execute_fastFailEnabled_propagatesSettingToBucket() |
void |
execute_ioException_doesNotUpdateRate() |
void |
execute_nonThrottlingServiceException_doesNotUpdateRate() |
void |
execute_responseSuccessful_updatesWithThrottlingFalse() |
void |
execute_retryModeNotAdaptive_doesNotAcquireToken() |
void |
setup() |
void |
teardown() |
public ConnectionManagerAwareHttpClient mockApache
public ExpectedException thrown
public void setup()
public void teardown()
public void execute_fastFailEnabled_propagatesSettingToBucket() throws Exception
Exception
public void execute_retryModeNotAdaptive_doesNotAcquireToken() throws Exception
Exception
public void execute_acquireReturnsFalse_throws() throws Exception
Exception
public void execute_responseSuccessful_updatesWithThrottlingFalse() throws Exception
Exception
public void execute_nonThrottlingServiceException_doesNotUpdateRate() throws Exception
Exception
public void execute_ioException_doesNotUpdateRate() throws Exception
Exception
public HttpResponseHandler<AmazonServiceException> createStubErrorResponseHandler(AmazonServiceException e) throws Exception
Exception
Copyright © 2023. All rights reserved.