狀況
您嘗試以平行方式執行單元測試,藉由使用 Visual Studio 2010,或在具有多個 Cpu 或單一 CPU 的電腦上使用 MSTest.exe 命令具有多重核心。如果您設定parallelTestCount屬性在測試設定檔的值大於 1,它們執行段時間之後,可能被取消所有測試。
解決方案
Hotfix 資訊
支援的 hotfix 可從 Microsoft 取得。不過,此 Hotfix 僅用於修正本文中所述的問題。此 hotfix 只適用於發生本文所述之問題的系統。此 hotfix 可能會接受其他測試。因此,如果此問題的影響不會很嚴重,我們建議您等候含此 hotfix 的下一版軟體更新。
如果 hotfix 可供下載,在此知識庫文件頂端將出現「可用的 Hotfix」區段。如果這個區段沒有出現,請連絡 Microsoft 客戶服務及支援以取得 hotfix。
注意如果發生其他問題,或如果需要進行疑難排解,您可能必須建立個別的服務要求。收取支援費用會套用到其他支援問題和此特定 hotfix 無法解決的問題。如需 Microsoft 客戶服務和支援的電話號碼或建立個別的服務要求的完整清單,請造訪下列 Microsoft 網站:
http://support.microsoft.com/contactus/?ws=support注意「 下載 Hotfix 」 表單會顯示 hotfix 可用的語言。如果看不到您的語言,是因為未提供該語言的 Hotfix 。
先決條件
若要套用此 hotfix,您必須使用 Microsoft Visual Studio 2010 Service Pack 1 (SP1) 安裝。
重新啟動資訊
您可能必須重新啟動電腦,如果受影響的檔案正在使用中,會套用此 hotfix 之後。我們建議您結束任何執行個體的 Visual Studio、 它的應用程式或任何.NET Framework 應用程式,在套用此 hotfix 之前。
Hotfix 取代資訊
此 hotfix 不會取代先前發行的 hotfix。
檔案資訊
此 hotfix 的全域版本安裝檔案具有下列表格中所列的屬性。這些檔案的日期和時間均以國際標準時間 (UTC) 列出。本機電腦上這些檔案是以您當地的時間與目前的日光節約時間 (DST) 的時差來顯示日期和時間。此外,當您在檔案上執行特定作業時,日期和時間可能會變更。
Microsoft Visual Studio 2010 Service Pack 1
檔案名稱 |
檔案版本 |
檔案大小 |
日期 |
時間 |
平台 |
---|---|---|---|---|---|
Leviewer.exe |
10.0.40219.355 |
117,584 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.build.client.dll |
10.0.40219.355 |
435,080 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.client.dll |
10.0.40219.355 |
1,592,704 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.common.dll |
10.0.40219.355 |
523,136 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.controls.dll |
10.0.40219.355 |
937,856 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.dll |
10.0.40219.355 |
674,672 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.lab.activities.dll |
10.0.40219.355 |
767,888 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.lab.client.dll |
10.0.40219.355 |
152,456 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.lab.uiutils.dll |
10.0.40219.355 |
266,120 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.lab.workflow.activities.dll |
10.0.40219.355 |
439,712 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.officeintegration.project.dll |
10.0.40219.355 |
516,520 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.activities.common.dll |
10.0.40219.355 |
314,296 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.activities.dll |
10.0.40219.355 |
1,511,336 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.activityruntime.dll |
10.0.40219.355 |
219,056 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.client.dll |
10.0.40219.355 |
684,448 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.testmanagement.client.themes.dll |
10.0.40219.355 |
3,058,096 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.client.wpfcontrols.dll |
10.0.40219.355 |
256,952 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.clientpackage.dll |
10.0.40219.355 |
73,136 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.common.dll |
10.0.40219.355 |
33,696 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.testmanagement.controller.dll |
10.0.40219.355 |
119,720 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.controls.dll |
10.0.40219.355 |
493,472 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.testmanagement.controls.wpfworkitemcontrols.dll |
10.0.40219.355 |
99,280 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.versioncontrol.client.dll |
10.0.40219.355 |
704,928 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.versioncontrol.common.dll |
10.0.40219.355 |
231,840 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.versioncontrol.controls.dll |
10.0.40219.355 |
4,438,432 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.workitemtracking.client.dll |
10.0.40219.355 |
698,272 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.teamfoundation.workitemtracking.controls.dll |
10.0.40219.355 |
1,213,352 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.teamfoundation.workitemtracking.proxy.dll |
10.0.40219.355 |
390,048 |
20-Oct-2011 |
20:37 |
x86 |
Microsoft.visualstudio.qualitytools.agentobject.dll |
10.0.40219.355 |
105,376 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.qualitytools.common.dll |
10.0.40219.355 |
1,353,616 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.qualitytools.controllerobject.dll |
10.0.40219.355 |
275,368 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.qualitytools.executioncommon.dll |
10.0.40219.355 |
480,168 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.qualitytools.testcasemanagement.dll |
10.0.40219.355 |
1,278,896 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.qualitytools.tmi.dll |
10.0.40219.355 |
397,712 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.build.dll |
10.0.40219.355 |
141,720 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.dll |
10.0.40219.355 |
93,064 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.teamexplorer.dll |
10.0.40219.355 |
798,120 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.versioncontrol.dll |
10.0.40219.355 |
58,288 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.versioncontrol.dll |
10.0.40219.355 |
58,800 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.versioncontrol.dll |
10.0.40219.355 |
60,336 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.versioncontrol.dll |
10.0.40219.355 |
62,896 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.versioncontrol.dll |
10.0.40219.355 |
939,432 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamfoundation.workitemtracking.dll |
10.0.40219.355 |
460,208 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.teamsystem.integration.dll |
10.0.40219.355 |
192,408 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.testtools.manualtest.common.dll |
10.0.40219.355 |
812,456 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.testtools.uitest.extension.ie.dll |
10.0.40219.355 |
250,280 |
22-Oct-2011 |
12:51 |
x86 |
Microsoft.visualstudio.testtools.uitest.extension.uia.dll |
10.0.40219.355 |
106,416 |
22-Oct-2011 |
12:51 |
x86 |
Msdiff.dll |
10.0.40219.355 |
484,680 |
22-Oct-2011 |
12:51 |
x86 |
Mtm.exe |
10.0.40219.355 |
448,328 |
22-Oct-2011 |
12:51 |
x86 |
Qtagent.exe |
10.0.40219.355 |
20,304 |
22-Oct-2011 |
12:51 |
x86 |
Qtagent32.exe |
10.0.40219.355 |
20,304 |
22-Oct-2011 |
12:51 |
x86 |
Qtagent32.exe |
10.0.40219.355 |
20,312 |
22-Oct-2011 |
12:51 |
x86 |
Tf.exe |
10.0.40219.355 |
324,928 |
22-Oct-2011 |
12:51 |
x86 |
狀態
Microsoft 已確認這是<套用>一節所列出的 Microsoft 產品的問題。
更多的資訊
如需有關如何以加速您的測試執行時間的平行執行單元測試的詳細資訊,請造訪下列 Microsoft 開發人員網路 (MSDN) 網站︰
如何執行更快使用的電腦具有多個 Cpu 或核心的單元測試如需有關 MSTest.exe 命令的詳細資訊,請造訪下列 MSDN 網站︰
MSTest.exe 命令列選項如需有關軟體更新術語的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:
用來描述 Microsoft 軟體更新標準術語的編號 824684描述