This repository was archived by the owner on Oct 12, 2026. It is now read-only.
Repository navigation
Conversation
cbodley
force-pushed
the
wip-streaming-checksum
branch
from
February 13, 2024 22:19
86e15d3 to
c619a9a
Compare
cbodley
commented
Feb 13, 2024
Comment on lines
+13104
to
+13929
| # test streaming uploads with sizes below and above the 8MB multipart threshold | ||
| upload_sizes = [7 * 1024 * 1024, 9 * 1024 * 1024] | ||
|
|
||
| @pytest.mark.checksum | ||
| @pytest.mark.parametrize("size", upload_sizes) | ||
| def test_streaming_upload_checksum_crc32(size): |
Contributor
Author
There was a problem hiding this comment.
the original 7MB size was below the default multipart threshold of 8MB, so wasn't testing multipart uploads. i parameterized these tests for sizes 7MB and 9MB to cover both
cbodley
force-pushed
the
wip-streaming-checksum
branch
3 times, most recently
from
February 14, 2024 00:49
8c071c5 to
47f532c
Compare
Contributor
Author
|
these test cases are all passing against aws us-east-1 |
4 of 14 tasks
cbodley
force-pushed
the
wip-streaming-checksum
branch
from
May 1, 2024 20:01
47f532c to
696ba91
Compare
Contributor
Author
|
part of this merged in #564, but the streaming upload tests weren't included |
cbodley
force-pushed
the
wip-streaming-checksum
branch
2 times, most recently
from
October 9, 2024 14:09
310a500 to
398efc5
Compare
Signed-off-by: Casey Bodley <[email protected]>
Contributor
Author
|
updated to parameterize the checksum algorithm too: |
cbodley
force-pushed
the
wip-streaming-checksum
branch
from
October 10, 2024 12:56
398efc5 to
c1c5d79
Compare
Contributor
|
in my testing with I guess the earlier version, including awscrt seemed to cause other tests to fail; are you not seeing that? |
Contributor
Author
doh, thanks. i've only tried the checksum tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
client.put_object()doesn't seem to support STREAMING payloads, butclient.upload_fileobj()canagainst http endpoint:
against https endpoint: