Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Tests are canceled when you run unit tests in parallel by using Visual Studio 2010 or MSTest.exe


View products that this article applies to.

Symptoms

You try to run unit tests in parallel by using Visual Studio 2010 or by using the MSTest.exe command on a computer that has multiple CPUs or a single CPU that has multiple cores. If you set the parallelTestCount attribute in the test settings file to a value greater than 1, all the tests may be canceled after they run for some time.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have Microsoft Visual Studio 2010 Service Pack 1 (SP1) installed.

Restart information

You may have to restart the computer after you apply this hotfix if the affected files are being used. We recommend that you exit any instances of Visual Studio, its applications, or any .NET Framework applications before you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Microsoft Visual Studio 2010 Service Pack 1
File nameFile versionFile sizeDateTimePlatform
Leviewer.exe10.0.40219.355117,58422-Oct-201112:51x86
Microsoft.teamfoundation.build.client.dll10.0.40219.355435,08020-Oct-201120:37x86
Microsoft.teamfoundation.client.dll10.0.40219.3551,592,70420-Oct-201120:37x86
Microsoft.teamfoundation.common.dll10.0.40219.355523,13620-Oct-201120:37x86
Microsoft.teamfoundation.controls.dll10.0.40219.355937,85622-Oct-201112:51x86
Microsoft.teamfoundation.dll10.0.40219.355674,67220-Oct-201120:37x86
Microsoft.teamfoundation.lab.activities.dll10.0.40219.355767,88822-Oct-201112:51x86
Microsoft.teamfoundation.lab.client.dll10.0.40219.355152,45620-Oct-201120:37x86
Microsoft.teamfoundation.lab.uiutils.dll10.0.40219.355266,12022-Oct-201112:51x86
Microsoft.teamfoundation.lab.workflow.activities.dll10.0.40219.355439,71222-Oct-201112:51x86
Microsoft.teamfoundation.officeintegration.project.dll10.0.40219.355516,52022-Oct-201112:51x86
Microsoft.teamfoundation.testmanagement.activities.common.dll10.0.40219.355314,29622-Oct-201112:51x86
Microsoft.teamfoundation.testmanagement.activities.dll10.0.40219.3551,511,33622-Oct-201112:51x86
Microsoft.teamfoundation.testmanagement.activityruntime.dll10.0.40219.355219,05622-Oct-201112:51x86
Microsoft.teamfoundation.testmanagement.client.dll10.0.40219.355684,44820-Oct-201120:37x86
Microsoft.teamfoundation.testmanagement.client.themes.dll10.0.40219.3553,058,09622-Oct-201112:51x86
Microsoft.teamfoundation.testmanagement.client.wpfcontrols.dll10.0.40219.355256,95222-Oct-201112:51x86
Microsoft.teamfoundation.testmanagement.clientpackage.dll10.0.40219.35573,13622-Oct-201112:51x86
Microsoft.teamfoundation.testmanagement.common.dll10.0.40219.35533,69620-Oct-201120:37x86
Microsoft.teamfoundation.testmanagement.controller.dll10.0.40219.355119,72022-Oct-201112:51x86
Microsoft.teamfoundation.testmanagement.controls.dll10.0.40219.355493,47222-Oct-201112:51x86
Microsoft.teamfoundation.testmanagement.controls.wpfworkitemcontrols.dll10.0.40219.35599,28022-Oct-201112:51x86
Microsoft.teamfoundation.versioncontrol.client.dll10.0.40219.355704,92820-Oct-201120:37x86
Microsoft.teamfoundation.versioncontrol.common.dll10.0.40219.355231,84020-Oct-201120:37x86
Microsoft.teamfoundation.versioncontrol.controls.dll10.0.40219.3554,438,43222-Oct-201112:51x86
Microsoft.teamfoundation.workitemtracking.client.dll10.0.40219.355698,27220-Oct-201120:37x86
Microsoft.teamfoundation.workitemtracking.controls.dll10.0.40219.3551,213,35222-Oct-201112:51x86
Microsoft.teamfoundation.workitemtracking.proxy.dll10.0.40219.355390,04820-Oct-201120:37x86
Microsoft.visualstudio.qualitytools.agentobject.dll10.0.40219.355105,37622-Oct-201112:51x86
Microsoft.visualstudio.qualitytools.common.dll10.0.40219.3551,353,61622-Oct-201112:51x86
Microsoft.visualstudio.qualitytools.controllerobject.dll10.0.40219.355275,36822-Oct-201112:51x86
Microsoft.visualstudio.qualitytools.executioncommon.dll10.0.40219.355480,16822-Oct-201112:51x86
Microsoft.visualstudio.qualitytools.testcasemanagement.dll10.0.40219.3551,278,89622-Oct-201112:51x86
Microsoft.visualstudio.qualitytools.tmi.dll10.0.40219.355397,71222-Oct-201112:51x86
Microsoft.visualstudio.teamfoundation.build.dll10.0.40219.355141,72022-Oct-201112:51x86
Microsoft.visualstudio.teamfoundation.dll10.0.40219.35593,06422-Oct-201112:51x86
Microsoft.visualstudio.teamfoundation.teamexplorer.dll10.0.40219.355798,12022-Oct-201112:51x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.35558,28822-Oct-201112:51x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.35558,80022-Oct-201112:51x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.35560,33622-Oct-201112:51x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.35562,89622-Oct-201112:51x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.355939,43222-Oct-201112:51x86
Microsoft.visualstudio.teamfoundation.workitemtracking.dll10.0.40219.355460,20822-Oct-201112:51x86
Microsoft.visualstudio.teamsystem.integration.dll10.0.40219.355192,40822-Oct-201112:51x86
Microsoft.visualstudio.testtools.manualtest.common.dll10.0.40219.355812,45622-Oct-201112:51x86
Microsoft.visualstudio.testtools.uitest.extension.ie.dll10.0.40219.355250,28022-Oct-201112:51x86
Microsoft.visualstudio.testtools.uitest.extension.uia.dll10.0.40219.355106,41622-Oct-201112:51x86
Msdiff.dll10.0.40219.355484,68022-Oct-201112:51x86
Mtm.exe10.0.40219.355448,32822-Oct-201112:51x86
Qtagent.exe10.0.40219.35520,30422-Oct-201112:51x86
Qtagent32.exe10.0.40219.35520,30422-Oct-201112:51x86
Qtagent32.exe10.0.40219.35520,31222-Oct-201112:51x86
Tf.exe10.0.40219.355324,92822-Oct-201112:51x86

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about how to run unit tests in parallel to speed up your test execution time, visit the following Microsoft Developer Network (MSDN) website:For more information about the MSTest.exe command, visit the following MSDN website:For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbautohotfix, kbqfe, kbhotfixserver, kbfix, kbexpertiseinter, kbsurveynew, kbbug, kb

↑ Back to the top

Article Info
Article ID : 2619410
Revision : 1
Created on : 1/7/2017
Published on : 11/14/2011
Exists online : False
Views : 301