ThreadAbortException when running two tests in parallel, one taking over 30 seconds
来源:互联网 发布:centos7 nginx nagios 编辑:程序博客网 时间:2024/05/23 13:34
http://connect.microsoft.com/VisualStudio/feedback/details/587390/threadabortexception-when-running-two-tests-in-parallel-one-taking-40-seconds
[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;
- ThreadAbortException when running two tests in parallel, one taking over 30 seconds
- Parallel program running in dual-core environment
- Maven parallel tests
- Two stack in one array
- Two Stacks In One Array
- memory problem in parallel running "ARMCI DASSERT fail"
- 4-2-Two Stacks In One Array
- Problems when building and running Nutch in eclipse
- java.lang.NoSuchFieldError: INSTANCE in HttpClient when running hadoop
- ThreadAbortException
- Only one SparkContext may be running in this JVM
- 运行测试(Running Tests)
- Scalaz(59)- scalaz-stream: fs2-程序并行运算,fs2 running effects in parallel
- How to capture the one-to-one dependency between two attributes in one relation?
- Junit in Action - Note taking
- Taking Object Ownership in C++
- When it comes to two corresponding names,one of them will be forces \( \)
- merge two column into one field in sql and hql
- backbone.js是mvc架构吗?
- RequireJS 与 SeaJS 的异同
- git服务器的搭建
- 设计模式C++实现(5)——桥接模式
- 市场营销学5——消费者购买行为分析
- ThreadAbortException when running two tests in parallel, one taking over 30 seconds
- 16_1小心地放开玩字符串/字符数组
- Android系统Intent的使用
- 遍历文件夹中文件(文件操作属性)
- 用spy++ 查看消息
- 探 Spring 3.1之无web.xml式 基于代码配置的servlet3.0应用
- 究 Spring 3.1之无web.xml式 基于代码配置的servlet3.0应用
- Java Web Application 自架构 一 注解化配置
- Java Web Application 自架构 二 单元测试模块