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 symlink tests on Windows #4144

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

HebaruSan
Copy link
Member

Problem

The test from #4129 is failing on Windows with an access denied exception.

Cause

Apparently you need to remove the junction info from a dir before it can be deleted.

Changes

  • Now DirectoryLink.Remove is created to purge the junction info from a dir before deleting it on Windows
  • Now the test calls this function at the end so the teardown can remove the dir

@HebaruSan HebaruSan added Bug Core (ckan.dll) Issues affecting the core part of CKAN Windows Issues specific for Windows Tests Issues affecting the internal tests labels Aug 5, 2024
@HebaruSan HebaruSan merged commit 8c06ebd into KSP-CKAN:master Aug 5, 2024
3 checks passed
@HebaruSan HebaruSan deleted the fix/win-junction-test branch August 5, 2024 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Core (ckan.dll) Issues affecting the core part of CKAN Tests Issues affecting the internal tests Windows Issues specific for Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant