Skip to content

Conversation

bentsku
Copy link
Contributor

@bentsku bentsku commented Apr 27, 2023

WIP: this is WIP PR, all these tests will/should fail as the functionality is not yet implemented in moto. Will depend on upstream changes, the PR is available here: getmoto/moto#6264

This PR builds on #8326
This will validate the fixes for #8172

All the tests will pass once all these PR are merged and a new release of moto-ext is done. (tested locally).

Sorry for the big amount of tests added in only one PR, this was built incrementally and I did not want to multiply the drafts PR. All those tests are AWS validated and snapshotted, so we can be pretty confident it works fine.

Moto PRs linked:

The next step building on these tests is to remove the functionality in our provider that has been added in moto now: calculating checksums and saving them to keys. Moto does not support CRC32C yet, so we will have a special case for this checksum algorithm. This will be done in a following PR.

@bentsku bentsku changed the base branch from master to fix-s3-copy-object April 27, 2023 15:23
@bentsku bentsku changed the base branch from fix-s3-copy-object to master April 27, 2023 15:24
@bentsku bentsku changed the title wip: add s3 copy object tests wip: add s3 CopyObject tests Apr 27, 2023
@github-actions
Copy link

github-actions bot commented Apr 27, 2023

LocalStack Community integration with Pro

2 061 tests   1 778 ✔️  1h 20m 50s ⏱️
       2 suites     283 💤
       2 files           0

Results for commit ae72000.

♻️ This comment has been updated with latest results.

@bentsku bentsku force-pushed the add-s3-copy-object-tests branch from 90c204d to a4d6a08 Compare May 5, 2023 15:42
@bentsku bentsku added the semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases label May 5, 2023
@bentsku bentsku self-assigned this May 5, 2023
@bentsku bentsku force-pushed the add-s3-copy-object-tests branch 2 times, most recently from 4ad947d to cf879c2 Compare May 9, 2023 17:39
@bentsku bentsku force-pushed the add-s3-copy-object-tests branch from 05b48c5 to 7823324 Compare May 17, 2023 12:16
@bentsku bentsku changed the base branch from master to bump-moto-4.1.9post1 May 17, 2023 12:17
@coveralls
Copy link

coveralls commented May 17, 2023

Coverage Status

Coverage: 82.248% (-0.004%) from 82.252% when pulling ae72000 on add-s3-copy-object-tests into c62d812 on master.

@bentsku bentsku changed the title wip: add s3 CopyObject tests add s3 CopyObject tests May 17, 2023
@bentsku bentsku marked this pull request as ready for review May 17, 2023 16:43
@bentsku bentsku requested a review from macnev2013 as a code owner May 17, 2023 16:43
Base automatically changed from bump-moto-4.1.9post1 to master May 19, 2023 09:06
@bentsku bentsku linked an issue May 19, 2023 that may be closed by this pull request
1 task
Copy link
Contributor

@macnev2013 macnev2013 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@bentsku bentsku force-pushed the add-s3-copy-object-tests branch from 7823324 to ae72000 Compare May 22, 2023 09:47
@bentsku bentsku merged commit 4b7a6f2 into master May 22, 2023
@bentsku bentsku deleted the add-s3-copy-object-tests branch May 22, 2023 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: s3 copy-object fails and does not generate a checksum
3 participants