e6777810ba
The AssertingInputStream in S3BlobContainerRetriesTests verifies that InputStream are either fully consumed or aborted, but the eof flag is only set when the underlying stream returns it. When buffered read are executed and when the exact number of remaining bytes are read, the eof flag is not set to true. Instead the test should rely on the total number of bytes read to know if the stream has been fully consumed. Close #62390 |
||
---|---|---|
.. | ||
internalClusterTest/java/org/elasticsearch/repositories/s3 | ||
main | ||
test/java/org/elasticsearch/repositories/s3 | ||
yamlRestTest |