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 UnauthorizedAccessException on Directory.CreateDirectory #467

Merged
merged 1 commit into from Jan 30, 2022

Conversation

erwan-joly
Copy link
Contributor

In the case the directory already exists but the environment running the tests don't have the right to create new directories (A good test pipelines usually don't need those rights) then the code throw UnauthorizedAccessException.

With that code we don't try to create the directory if it already exist avoiding the UnauthorizedAccessException if the rights are missing but the directory exist.

@dnfadmin
Copy link

dnfadmin commented Jan 27, 2022

CLA assistant check
All CLA requirements met.

@SimonCropp SimonCropp added this to the 15.2.0 milestone Jan 30, 2022
@SimonCropp
Copy link
Member

thanks

@SimonCropp SimonCropp merged commit 14adffb into VerifyTests:main Jan 30, 2022
@SimonCropp SimonCropp added the Bug label Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants