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 for tests running in mint vs locally #2029

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

marktheunissen
Copy link
Contributor

When running functional tests locally, getDataReader returns some stable data, however when calling the same function from within the mint docker image, the sample data it returns was generated by a script called create-data-files.sh and placed in MINT_DATA_DIR. Thus the checksum is different, causing a test failure.

This PR switches out usage of the data file, for a simple ChecksumBytes([]byte{0x01, 0x02, 0x03}) which is a stable checksum and is faster.

I don't think this is the fix for the failure we see here, which is a different test: https://github.com/minio/minio/actions/runs/12135560142/job/33866257119?pr=20674 , however it's something that failed for me locally.

@harshavardhana harshavardhana merged commit 5e9a483 into minio:master Dec 4, 2024
5 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