fix: explicitly specify FileAttributes
in tests
#1409
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
ci.yml
on: pull_request
Test (MacOS)
4m 21s
Test (Ubuntu)
3m 18s
Test (Windows)
13m 11s
Test (.NET Framework)
4m 56s
Test (Examples)
3m 34s
Annotations
8 errors and 7 warnings
Test (.NET Framework)
Process completed with exit code 1.
|
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 : 08:32:11 GMT+0000 (Coordinated Universal Time)
Attempt #2 started at : 08:37:30 GMT+0000 (Coordinated Universal Time)
|
Testably.Abstractions.Tests.FileSystem.FileInfo.ReplaceTests.RealFileSystemTests ► Replace_ShouldAddArchiveAttribute_OnWindows(sourceFileAttributes: Hidden, destinationFileAttributes: System, sourceName: "sourceName5db8d90d-48f4-449a-aa3a-bd3b3b2b88d7"...:
Tests/Testably.Abstractions.Tests/FileSystem/FileInfo/ReplaceTests.cs#L192
Failed test found in:
runneradmin_fv-az206-754_2023-10-06_08_32_25[1].trx
runneradmin_fv-az206-754_2023-10-06_08_37_37.trx
Error:
Expected FileSystem.File.GetAttributes(destinationName) to be FileAttributes.Hidden|Archive {value: 34}, but found FileAttributes.System|Archive {value: 36}.
|
Testably.Abstractions.Tests.FileSystem.FileInfo.ReplaceTests.RealFileSystemTests ► Replace_ShouldAddArchiveAttribute_OnWindows(sourceFileAttributes: System, destinationFileAttributes: Hidden, sourceName: "sourceName0549fa14-53f2-4c28-a204-484fdc6701b6"...:
Tests/Testably.Abstractions.Tests/FileSystem/FileInfo/ReplaceTests.cs#L192
Failed test found in:
runneradmin_fv-az206-754_2023-10-06_08_32_25[1].trx
runneradmin_fv-az206-754_2023-10-06_08_37_37.trx
Error:
Expected FileSystem.File.GetAttributes(destinationName) to be FileAttributes.System|Archive {value: 36}, but found FileAttributes.Hidden|Archive {value: 34}.
|
Testably.Abstractions.Tests.FileSystem.FileInfo.ReplaceTests.RealFileSystemTests ► Replace_ShouldAddArchiveAttribute_OnWindows(sourceFileAttributes: Hidden, destinationFileAttributes: System, sourceName: "sourceName0f0891fe-b3d8-4759-8e17-6ab612ef877f"...:
Tests/Testably.Abstractions.Tests/FileSystem/FileInfo/ReplaceTests.cs#L192
Failed test found in:
runneradmin_fv-az206-754_2023-10-06_08_34_59.trx
runneradmin_fv-az206-754_2023-10-06_08_40_03.trx
Error:
Expected FileSystem.File.GetAttributes(destinationName) to be FileAttributes.Hidden|Archive {value: 34}, but found FileAttributes.System|Archive {value: 36}.
|
Testably.Abstractions.Tests.FileSystem.FileInfo.ReplaceTests.RealFileSystemTests ► Replace_ShouldAddArchiveAttribute_OnWindows(sourceFileAttributes: System, destinationFileAttributes: Hidden, sourceName: "sourceName06c15fda-e4f1-4a02-b057-9383edba5781"...:
Tests/Testably.Abstractions.Tests/FileSystem/FileInfo/ReplaceTests.cs#L192
Failed test found in:
runneradmin_fv-az206-754_2023-10-06_08_34_59.trx
runneradmin_fv-az206-754_2023-10-06_08_40_03.trx
Error:
Expected FileSystem.File.GetAttributes(destinationName) to be FileAttributes.System|Archive {value: 36}, but found FileAttributes.Hidden|Archive {value: 34}.
|
Testably.Abstractions.Tests.FileSystem.FileInfo.ReplaceTests.RealFileSystemTests ► Replace_ShouldAddArchiveAttribute_OnWindows(sourceFileAttributes: Hidden, destinationFileAttributes: System, sourceName: "sourceName2321a875-6775-4d1c-a58e-b4e20f775f97"...:
Tests/Testably.Abstractions.Tests/FileSystem/FileInfo/ReplaceTests.cs#L192
Failed test found in:
runneradmin_fv-az252-49_2023-10-06_08_33_12.trx
Error:
Expected FileSystem.File.GetAttributes(destinationName) to be FileAttributes.Hidden|Archive {value: 34}, but found FileAttributes.System|Archive {value: 36}.
|
Testably.Abstractions.Tests.FileSystem.FileInfo.ReplaceTests.RealFileSystemTests ► Replace_ShouldAddArchiveAttribute_OnWindows(sourceFileAttributes: System, destinationFileAttributes: Hidden, sourceName: "sourceNameea0240b3-de5b-4e18-8cc5-9ae2535271f1"...:
Tests/Testably.Abstractions.Tests/FileSystem/FileInfo/ReplaceTests.cs#L192
Failed test found in:
runneradmin_fv-az252-49_2023-10-06_08_33_12.trx
Error:
Expected FileSystem.File.GetAttributes(destinationName) to be FileAttributes.System|Archive {value: 36}, but found FileAttributes.Hidden|Archive {value: 34}.
|
Test (Examples)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 36952 , Maximum supported length: 32766
|
Test (Examples)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 36952 , Maximum supported length: 32766
|
Test (Examples)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 36952 , 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: 36951 , Maximum supported length: 32766
|
Test (Windows)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 36951 , Maximum supported length: 32766
|
Test (Windows)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 36951 , Maximum supported length: 32766
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Code coverage (MacOS)
Expired
|
15.4 MB |
|
Code coverage (Ubuntu)
Expired
|
16.3 MB |
|
PR_NUMBER
Expired
|
5 Bytes |
|
Test results (.NET Framework)
Expired
|
4.93 MB |
|
Test results (MacOS)
Expired
|
30.5 MB |
|
Test results (Ubuntu)
Expired
|
30.1 MB |
|
Test results (Windows)
Expired
|
60.4 MB |
|