OpenSearch/plugins/repository-s3
Tanguy Leroux aee92d573c Allow partial request body reads in AWS S3 retries tests (#45847)
This commit changes the tests added in #45383 so that the fixture that 
emulates the S3 service now sometimes consumes all the request body 
before sending an error, sometimes consumes only a part of the request 
body and sometimes consumes nothing. The idea here is to beef up a bit 
the tests that writes blob because the client's retry logic relies on 
marking and resetting the blob's input stream.

This pull request also changes the testWriteBlobWithRetries() so that it 
(rarely) tests with a large blob (up to 1mb), which is more than the client's 
default read limit on input streams (131Kb).

Finally, it optimizes the ZeroInputStream so that it is a bit more effective 
(now works using an internal buffer and System.arraycopy() primitives).
2019-08-23 13:43:31 +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 Allow partial request body reads in AWS S3 retries tests (#45847) 2019-08-23 13:43:31 +02:00
build.gradle S3 3rd Party Test Goal (#44799) (#45004) 2019-07-30 17:16:41 +02:00
docker-compose.yml Make sure the clean task doesn't break test fixtures (#43641) 2019-07-08 17:58:27 +03:00