我有一个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.
您使用哪个任务来运行测试? –