druid/extensions-core/s3-extensions/src
Akshat Jain 641f739a47
Fix flaky test in RetryableS3OutputStreamTest (#16639)
As part of #16481, we have started uploading the chunks in parallel.
That means that it's not necessary for the part that finished uploading last
to be less than or equal to the chunkSize (as the final part could've been uploaded earlier).

This made a test in RetryableS3OutputStreamTest flaky where we were
asserting that the final part should be smaller than chunk size.

This commit fixes the test, and also adds another test where the file size
is such that all chunk sizes would be of equal size.
2024-06-24 08:13:47 +05:30
..
main Emit metrics for S3UploadThreadPool (#16616) 2024-06-21 11:36:47 +05:30
test Fix flaky test in RetryableS3OutputStreamTest (#16639) 2024-06-24 08:13:47 +05:30