OpenSearch/plugins/repository-s3/src
Tanguy Leroux 24f6985235 Reduce allocations when draining HTTP requests bodies in repository tests (#48541)
In repository integration tests, we drain the HTTP request body before 
returning a response. Before this change this operation was done using
Streams.readFully() which uses a 8kb buffer to read the input stream, it
 now uses a 1kb for the same operation. This should reduce the allocations 
made during the tests and speed them up a bit on CI.

Co-authored-by: Armin Braun <me@obrown.io>
2019-10-29 09:15:06 +01:00
..
main Add support for Multipart upload to S3 repository integration tests (#46704) 2019-09-18 09:40:25 +02:00
test Reduce allocations when draining HTTP requests bodies in repository tests (#48541) 2019-10-29 09:15:06 +01:00