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

ci: don't fail tests based on file removal failure #5571

Merged
merged 1 commit into from Nov 27, 2023

Conversation

rfay
Copy link
Member

@rfay rfay commented Nov 25, 2023

The Issue

We had many tests where the t.Cleanup() was asserting on failure to remove a file or several files on traditional Windows. This happens often on Windows NTFS, which is a bit of a different animal; you can't delete something that might be in use. Due to the eccentricities of Docker and Mutagen running, these types of problems can happen regularly, so it's best just not to check, since we're just cleaning up anyway.

This is only for tests, and only to result in less false-failures on Windows. There is no need to get it in soon for release or anything.

Copy link

@rfay rfay marked this pull request as ready for review November 26, 2023 03:38
@rfay rfay requested a review from a team as a code owner November 26, 2023 03:38
@rfay rfay merged commit 7e872a7 into ddev:master Nov 27, 2023
24 checks passed
@rfay rfay deleted the 20231125_dont_fail_tests_on_file_removal branch November 27, 2023 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant