Skip to content

fix: support relative path with drive information in Path.GetFullPath #1419

fix: support relative path with drive information in Path.GetFullPath

fix: support relative path with drive information in Path.GetFullPath #1419

Triggered via pull request October 10, 2023 12:52
Status Failure
Total duration 11m 9s
Artifacts 7
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 7 warnings
Test (Windows)
Process returned exit code 1 Launched as "dotnet test --no-build --collect:"XPlat Code Coverage" --logger trx --results-directory "TestResults"" Launched at "/D/a/Testably.Abstractions/Testably.Abstractions" Attempts exhausted, made 2 attempts : Attempt #1 started at : 12:55:21 GMT+0000 (Coordinated Universal Time) Attempt #2 started at : 13:00:27 GMT+0000 (Coordinated Universal Time)
Testably.Abstractions.Tests.FileSystem.Path.GetFullPathTests.MockFileSystemTests ► GetFullPath_RelativePathWithDrive_WhenCurrentDirectoryIsDifferent_ShouldReturnExpectedValue: Tests/Testably.Abstractions.Tests/FileSystem/Path/GetFullPathTests.cs#L60
Failed test found in: runneradmin_fv-az448-732_2023-10-10_12_55_35.trx runneradmin_fv-az448-732_2023-10-10_13_00_31.trx Error: Expected result to be "D:\test.txt" with a length of 11, but "D:\a\Testably.Abstractions\Testably.Abstractions\Build\Tests\Testably.Abstractions.Tests\net6.0\test.txt" has a length of 104, differs near "a\T" (index 3).
Testably.Abstractions.Tests.FileSystem.Path.GetFullPathTests.RealFileSystemTests ► GetFullPath_RelativePathWithDrive_WhenCurrentDirectoryIsDifferent_ShouldReturnExpectedValue: Tests/Testably.Abstractions.Tests/FileSystem/Path/GetFullPathTests.cs#L60
Failed test found in: runneradmin_fv-az448-732_2023-10-10_12_55_35.trx Error: Expected result to be "D:\test.txt" with a length of 11, but "D:\a\Testably.Abstractions\Testably.Abstractions\test.txt" has a length of 57, differs near "a\T" (index 3).
Testably.Abstractions.Tests.FileSystem.Path.GetFullPathTests.MockFileSystemTests ► GetFullPath_RelativePathWithDrive_WhenCurrentDirectoryIsDifferent_ShouldReturnExpectedValue: Tests/Testably.Abstractions.Tests/FileSystem/Path/GetFullPathTests.cs#L60
Failed test found in: runneradmin_fv-az448-732_2023-10-10_12_58_01.trx Error: Expected result to be "D:\test.txt" with a length of 11, but "D:\a\Testably.Abstractions\Testably.Abstractions\Build\Tests\Testably.Abstractions.Tests\net7.0\test.txt" has a length of 104, differs near "a\T" (index 3).
Testably.Abstractions.Tests.FileSystem.Path.GetFullPathTests.RealFileSystemTests ► GetFullPath_RelativePathWithDrive_WhenCurrentDirectoryIsDifferent_ShouldReturnExpectedValue: Tests/Testably.Abstractions.Tests/FileSystem/Path/GetFullPathTests.cs#L60
Failed test found in: runneradmin_fv-az448-732_2023-10-10_12_58_01.trx runneradmin_fv-az448-732_2023-10-10_13_00_45.trx Error: Expected result to be "D:\test.txt" with a length of 11, but "D:\a\Testably.Abstractions\Testably.Abstractions\test.txt" has a length of 57, differs near "a\T" (index 3).
Testably.Abstractions.Tests.FileSystem.Path.GetFullPathTests.MockFileSystemTests ► GetFullPath_RelativePathWithDrive_WhenCurrentDirectoryIsDifferent_ShouldReturnExpectedValue: Tests/Testably.Abstractions.Tests/FileSystem/Path/GetFullPathTests.cs#L60
Failed test found in: runneradmin_fv-az448-732_2023-10-10_13_00_45.trx Error: Expected result to be "D:\test.txt" with a length of 11, but "D:\a\Testably.Abstractions\Testably.Abstractions\test.txt" has a length of 57, differs near "a\T" (index 3).
Test (Examples)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34663 , Maximum supported length: 32766
Test (Examples)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34663 , Maximum supported length: 32766
Test (Examples)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34663 , Maximum supported length: 32766
Test (.NET Framework)
The following actions uses node12 which is deprecated and will be forced to run on node16: darenm/Setup-VSTest@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (Windows)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34662 , Maximum supported length: 32766
Test (Windows)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34662 , Maximum supported length: 32766
Test (Windows)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34662 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size
Code coverage (MacOS) Expired
16.4 MB
Code coverage (Ubuntu) Expired
16.4 MB
PR_NUMBER Expired
5 Bytes
Test results (.NET Framework) Expired
4.94 MB
Test results (MacOS) Expired
30.6 MB
Test results (Ubuntu) Expired
30.2 MB
Test results (Windows) Expired
56.1 MB