-
Notifications
You must be signed in to change notification settings - Fork 150
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
TempResourceFile.Dispose causes run to hang #8
Comments
I can't wrap my head around why the loop would ever be infinite. It seems to me that Why would a non-parallelizable STA test make this more likely? |
The comment about non-parallelizable STA tests relates to the original issue that was written against the framework. I suspected that the call to Delete might not return. However, it's irrelevant now that we are talking about the engine tests. There may no longer be an issue. The only thing that bothers me about that method right now is the use of the name I think I'd be ready to close this in any case. |
I just looked a bit into this issue, as and I cannot see how the code could hang. The only problem I can see is that sometimes the @nunit/engine-team I propose to delete the class |
@CharliePoole commented on Tue Sep 29 2015
This Dispose method contains an infinite loop, exited via a break statement. Sometimes, when all other threads are also waiting, the exit requirements are never met.
Someone needs to examine the reasons behind the logic that is there and modify it so it doesn't hang.
@CharliePoole commented on Tue Sep 29 2015
I've noticed that this is often a problem when running a non-parallelizable STA test. Makes sense.
The text was updated successfully, but these errors were encountered: