我有一個TFS 2017(版本15.105.25910.0)構建,它也運行測試,但是一個測試需要很長時間,並且由於在構建編輯頁面的'常規'選項卡中設置了超時,整個構建將被取消。 TFS日誌包含在下面。 如何檢查哪個測試有問題?TFS 2017我如何知道哪些測試正在運行(在完成之前)?
注意第一個和第二個日誌之間的時間差。我假設一個錯誤的測試正在ReportAnalyzer_Blabla_SomethingTest
之後運行,但超過1k個測試很難猜測它是什麼。
2017-08-30T11:30:09.7614471Z Passed ReportAnalyzer_Blabla_SomethingTest 2017-08-30T11:53:52.1581687Z ##[debug]FindFiles.FindMatchingFiles(rootFolder = D:\TfsBuildAgents\RmsBuild\_work\8\s\TestResults, matchPattern = *.trx, includeFiles = True, includeFolders = False 2017-08-30T11:53:52.1581687Z ##[debug]FindFiles.GetMatchingItems(includePatterns.Count = 1, excludePatterns.Count = 0, includeFiles = True, includeFolders = False 2017-08-30T11:53:52.1581687Z ##[debug]FindFiles.FindMatchingFiles - Found 0 matches 2017-08-30T11:53:52.1581687Z ##[debug]Processed: ##vso[task.logissue type=warning;code=002003;] 2017-08-30T11:53:52.1581687Z 2017-08-30T11:53:52.1581687Z 2017-08-30T11:53:52.1737949Z ##[warning]No results found to publish. 2017-08-30T11:53:52.1737949Z ##[debug]Processed: ##vso[task.logissue type=warning]No results found to publish. 2017-08-30T11:53:52.2050485Z ##[error]The operation was canceled. 2017-08-30T11:53:52.2050485Z ##[debug]System.OperationCanceledException: The operation was canceled.
您使用哪個任務來運行測試? –