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
Exceptionpublic void execute_retryModeNotAdaptive_doesNotAcquireToken()
throws Exception
Exceptionpublic void execute_acquireReturnsFalse_throws()
throws Exception
Exceptionpublic void execute_responseSuccessful_updatesWithThrottlingFalse()
throws Exception
Exceptionpublic void execute_nonThrottlingServiceException_doesNotUpdateRate()
throws Exception
Exceptionpublic void execute_ioException_doesNotUpdateRate()
throws Exception
Exceptionpublic HttpResponseHandler<AmazonServiceException> createStubErrorResponseHandler(AmazonServiceException e) throws Exception
ExceptionCopyright © 2024. All rights reserved.