versitygw icon indicating copy to clipboard operation
versitygw copied to clipboard

[Test Case] - functional test for chunk encoded upload and upload part

Open benmcclelland opened this issue 6 months ago • 0 comments

Description

The gateway supports chunk encoded uploads. We have some tests in the systems tests using mc that does chunk encoded uploads by default. But we need a bit more controlled tests for specific cases here. So it would be good if added the client side chunk encoded upload for functional test cases. Unfortunately, the sdk doesn't seem to include this capability. So we might have to implement this on our own.

Purpose

This will cover test cases specifically around chunk encoded uploads. We did have an error in this already that was not found by any other test (#753).

Scope

The initial scope is chunked encoded upload test with simple success and error case.

Acceptance Criteria

The chunk encoded upload should upload the expected data with no extra padding, and a following GET should retrieve the exact original (non-chunk encoded) content. Incorrect chunk headers should result in the correct errors returned.

Resources

https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html

benmcclelland avatar Aug 26 '24 16:08 benmcclelland