This project is read-only.

ThreadAbortException when running tests

Aug 11, 2008 at 6:32 PM
Guys,

I am running STP 2.0 tests under debug in VS2005 and nunit 2.4.8 and get the following in output window in VS2005:

A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll

The test I ran was SmartThreadPoolTests.TestMultipleWorkItems.WaitAll(). Test turns green. Other tests produce similar exception while finishing with success.

Is this expected behavior or I am doing something wrong?

Just for the record: I setup STPTests as project to start and in debug tab specified nunit.exe as starting app and STPTests.dll as command line.

Thanks in advance,

Andrey