You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of invalid test result path/attachment, currently TRX logger fails to write testresult outcome causing test results to be reported in Invalid state.
<StdErr>Failed to attach files from: MSTestAdapterV2
Error Details: System.IO.DirectoryNotFoundException:System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\agent_work\1\s\TestResults\Deploy_wpsetwtt 2018-07-25 21_58_17\In\GetTokenInfoByInvalidCode_LogFile.txt'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Microsoft.TestPlatform.Extensions.TrxLogger.Utility.Converter.CopyFile(String sourceFile, String targetFile)
at Microsoft.TestPlatform.Extensions.TrxLogger.Utility.Converter.ToResultFiles(AttachmentSet attachmentSet, Guid testResultExecutionId, TestRun testRun, String trxFileDirectory)
at Microsoft.TestPlatform.Extensions.TrxLogger.Utility.Converter.UpdateTestResultAttachments(TestResult rockSteadyTestResult, TestResult testResult, TestRun testRun, String trxFileDirectory, Boolean addAttachments)</StdErr>
The text was updated successfully, but these errors were encountered:
In case of invalid test result path/attachment, currently TRX logger fails to write
testresult outcome
causing test results to be reported in Invalid state.The text was updated successfully, but these errors were encountered: