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

fix: integrity in snapshot test #179

Merged
merged 1 commit into from
Nov 26, 2024
Merged

fix: integrity in snapshot test #179

merged 1 commit into from
Nov 26, 2024

Conversation

kormide
Copy link
Collaborator

@kormide kormide commented Nov 25, 2024

The test code that produces the zip doesn't produce the same output on all platforms. Until that's fixed, update to what passes on CI.

@@ -545,7 +545,7 @@ bcr_test_module:
modules/zip/1.0.0/source.json
----------------------------------------------------
{
\\"integrity\\": \\"sha256-Bqu+8wSwNVkplPEHcMNdla+oQRGoyXfx4BohYHCPZFU=\\",
\\"integrity\\": \\"sha256-fencLRegfGaNYdAWP/WaXxUWJwzD19XQtpWf2qcmkZw=\\",
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to document which environment this represents?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I haven't quite figured it out, except that the zips produces on my mac laptop match the ones produces on CI (ubuntu), but do not match the ones produced on my ubuntu laptop 😳. This is only test code though, nothing used in production.

@kormide kormide merged commit 9f4027e into main Nov 26, 2024
2 checks passed
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.

2 participants