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 testMerginApi #3047

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Fix testMerginApi #3047

merged 2 commits into from
Feb 12, 2024

Conversation

uclaros
Copy link
Contributor

@uclaros uclaros commented Feb 12, 2024

Sleep for a second to allow ::lastModified() datetime of copied file to change, otherwise its checksum is fetched from the cache instead of getting calculated.

Care should be taken whenever we read the checksum cache too shortly after writing to it (probably only applies to tests).

@PeterPetrik PeterPetrik merged commit d1178da into master Feb 12, 2024
8 checks passed
@PeterPetrik PeterPetrik deleted the fix-test-mergin-api branch February 12, 2024 18:34
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.

None yet

3 participants