component-detection
component-detection copied to clipboard
Tests fail on Windows
Three tests in Microsoft.ComponentDetection.Common.Tests are failing on Windows 11 using VS2022.
Looks like it should be skipped on Windows, as per other tests in the class
- DockerServiceTests.DockerService_CanPingDockerAsync
These look like they're intended to be skipped on Windows as thay have a SkipTestOnWindows attribute, but also have a redundant TestMethod attribute.
- SafeFileEnumerableTests.GetEnumerator_CallsSymlinkCode
- SafeFileEnumerableTests.GetEnumerator_DuplicatePathIgnored
DockerServiceTests.DockerService_CanPingDockerAsync requires docker be installed and running, so that should be made to instead return inconclusive or conditionallly skipped on no-docker available. I agree with the other removals of TestMethod