chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
One of Test cases fails and throws the System.NotSupportedException : WaitAll for multiple handles on a STA thread is not supported. exception.
Any ideas how i can get over this?
asked by prashant_p (640 points)

4 Answers

0 votes
Hi Prashant

Can you please give me more details about the code that cause the exception?
How do you run the test?
What version of the Isolator are you using?
answered by ohad (35.4k points)
0 votes
Hi Prashant

On second thought, are you using the Racer?
If you are using it, the Racer does not support yet WaitAll and WaitAny method.
You can see the API methods that the Racer supports in the installed documentation under "Supported .NET Threading APIs "
answered by ohad (35.4k points)
0 votes
Hi ohad,

from one of the test cases a method has been called which in turn calls ManualResetEvent.WaitAll( m_ComputationCompleted );
On this statement it throws the error.
I am newbie to Typemock. So don't know about racer. Still I guess I am not using it.
answered by prashant_p (640 points)
0 votes
Hi prashant,

I need to investigate this issue - let's take it offline
answered by dhelper (11.9k points)
...