-
Notifications
You must be signed in to change notification settings - Fork 106
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
refactor: use mutex for file determination #1113
refactor: use mutex for file determination #1113
Conversation
…up a custom result file name rather than the name of the assembly to be tested
…test runs in different processes by using a mutex for the assembly path
@Lorilatschki Two tests failing :-) |
@OsirisTerje I have seen it but I don't know why. I tried to debug the test locally (it is only enabled for net462) but I cannot run it inside my VS2022. It always says the following:
Any idea what I am doing wrong? Running
|
I don't think you're doing anything wrong. I've got the same message from time to time lately. I wonder if this is some bug in the testhost or some related component. If you tro to run it from the command line, using SORRY: Didnt see your last lines.... Try to run: About VS: I clean the solution, sometimes even delete all bin and obj files and even the -vs folder, then it works. In some cases I change the targetframeworks to ONLY be one specific framework. Not sure what is wrong here, but I have seen it on other solutions as well. |
This worked! I found the issue, in that 2 tests the assemblyPath is null and creating a mutex with a name equals null isn't allowed. I have adapted the name determination. |
@OsirisTerje locally the tests are passing with my last commit. Can you please double check it on your end? |
The build is still failing with the same errors, files not found. |
Cool! That last commit/change did the trick !! |
@Lorilatschki Do you fix the conflict too, and then we merge |
@Lorilatschki Some merge stuff, it seems: |
I will fix it. |
@OsirisTerje merge conflict is solved. |
Ensure the file determination process is aware of multiple test runs in different processes by using a mutex for the assembly path