OpenSearch/plugins/repository-s3
Tanguy Leroux 0c1b263e8d Inject random errors in S3BlobStoreRepositoryTests (#46125)
This commit modifies the HTTP server used in S3BlobStoreRepositoryTests 
so that it randomly returns server errors for any type of request executed by
 the SDK client. It is now possible to verify that the repository tests are s
uccessfully completed even if one or more errors were returned by the S3 
service in response of a blob upload, a blob deletion or a object listing request 
etc.

Because injecting errors forces the SDK client to retry requests, the test limits
 the maximum errors to send in response for each request at 3 retries.
2019-08-30 11:58:09 +02:00
..
config/repository-s3 Fix logging configuration for AwsSdkMetrics logger 2016-10-14 23:44:39 -04:00
licenses Remove Unused AWS KMS Dependency (#43671) (#43679) 2019-06-27 16:51:11 +02:00
src Inject random errors in S3BlobStoreRepositoryTests (#46125) 2019-08-30 11:58:09 +02:00
build.gradle Refactor RepositoryCredentialsTests (#45919) 2019-08-26 15:14:43 +02:00
docker-compose.yml Make sure the clean task doesn't break test fixtures (#43641) 2019-07-08 17:58:27 +03:00