[TestMethod]
public void TestMethod2()
{
Thread.Sleep(35000);
// in default unit test settings, this line will never be reached
Console.WriteLine("TestMethod2");
}
It is a VS problem.
During my Performance testing, i doing code and need to start 2 thread on running.
I also meet this problem.
What i resolved. Add a judgement
if duration > 30s, break;