Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Add additional checksum verification in specs #1389

Closed

Conversation

little9
Copy link
Contributor

@little9 little9 commented Sep 4, 2018

This adds an additional checksum verification to
the external files conversion spec. This ensures
that the FixityService returns the sha1 we expect
for the world.png file.

It also ensures that the checksums are the same
when the existing file is placed in /tmp and
that the file that is downloaded from a redirect
also has the correct checksum.

Connected to #1301

@little9 little9 requested a review from bess September 4, 2018 19:30
@little9 little9 force-pushed the external-files/additional-checksums-in-specs branch 2 times, most recently from 6a36a19 to e686ba3 Compare September 5, 2018 18:30
@coveralls
Copy link

coveralls commented Sep 5, 2018

Coverage Status

Coverage decreased (-30.8%) to 62.093% when pulling f13ac1f on external-files/additional-checksums-in-specs into 5b82805 on develop.

@little9 little9 force-pushed the external-files/additional-checksums-in-specs branch 2 times, most recently from 20e2732 to db04b57 Compare September 7, 2018 18:23
This adds an additional checksum verification to
the external files conversion spec. This ensures
that the FixityService returns the sha1 we expect
for the world.png file.

It also ensures that the checksums are the same
when the existing file is placed in `/tmp` and
that the file that is downloaded from a redirect
also has the correct checksum.
@little9 little9 force-pushed the external-files/additional-checksums-in-specs branch from db04b57 to f13ac1f Compare September 7, 2018 20:05
@little9
Copy link
Contributor Author

little9 commented Sep 7, 2018

I'm going to close this because the other PR introduces the Checksummer class, which is tested and is used the conversion process.

@little9 little9 closed this Sep 7, 2018
@awead awead deleted the external-files/additional-checksums-in-specs branch April 17, 2019 18:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants