Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tests for the case where files already exist #109

Merged

Conversation

gedl
Copy link
Contributor

@gedl gedl commented Jul 8, 2024

assert on contents of the "latest" file

assert on contents of the "latest" file
@gedl gedl merged commit bc4c12c into fix/md5_management Jul 8, 2024
1 check passed
@gedl gedl deleted the origin/fix/md5_management_latest_assertions branch July 8, 2024 15:29
wermajew added a commit that referenced this pull request Jul 9, 2024
* remove unused imports

* print md5 when local matches remote

* use S3's etag to store the md5 instead of a user defined meta entry. This is because we can only know the md5 *after* the upload has completed, and we must set meta at the time of the upload, so we were using the
original file's md5 instead of the transferred file md5

* improve logging messages

* reject file if md5 doesn't match (and noCheckMd5 option is not enabled)

* remove unused variable and import

* add some downloader tests

* name file properly

* remove unecessary code

* inline variable only used once

* reduce jacoco coverage target for the downloader module

* fix: add assertions for 'latest' obj

* add tests for the case where files already exist
assert on contents of the "latest" file

* Revert "fix: add assertions for 'latest' obj"

This reverts commit cb14328.

* add tests for the case where files already exist (#109)

assert on contents of the "latest" file

* tests for LocalFileAcceptor

---------

Co-authored-by: Weronika Majewska <wmajewska@endeavorstreaming.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant