-
Notifications
You must be signed in to change notification settings - Fork 323
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 same file access exception #3373
Conversation
Thanks for your contribution :) @Haplois imho we had a code for this somewhere, could you remind me? Or were you doing that fix in testfx? |
@nohwnd in |
@ntovas perfect. 👍 |
Thanks for reminding me about this. Added to my work list for Tuesday. |
I reviewed my code and made some changes, please check them again @nohwnd :) |
9bfa600
to
79da441
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like some of the acceptance tests are failing (probably because of the name change), tests are:
- HtmlLoggerWithExecutorUriShouldProperlyOverwriteFile
- HtmlLoggerWithFriendlyNameShouldProperlyOverwriteFile
Hey @ntovas, would you be willing to make the extra changes so we can move forward and get this PR merged? If not, please let us know so we can take it over from here. Thank you for what you have done so far! |
Hello @Evangelink , Yes, I will try to make the changes, sorry but I missed the notifications about this. |
No worries at all @ntovas. Thank you for taking care of this and feel free to ask any question. |
8c38c73
to
7f7e996
Compare
@Evangelink I have an issue running the unit tests locally, so I am not exactly sure why it's failing ¯_(ツ)_/¯ |
@ntovas I will look into it. Thanks for updating the PR :) |
ex.ToString()); | ||
ConsoleOutput.Instance.Error(false, string.Concat(HtmlResource.HtmlLoggerError), ex.Message); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated change but there was no need for the string.Concat
.
Thank you for the contribution @ntovas! |
The current pull request fixes the following error:
Html Logger Error : The process cannot access the file 'C:\xxxxxxx\TestResult_XXXXXXXXXX_20220215_084850.xml' because it is being used by another process.
, while running tests for multiple projects on the same solution.