diff --git a/test/Microsoft.ComponentDetection.Common.Tests/DockerServiceTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/DockerServiceTests.cs index b203be826..de6b698c6 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/DockerServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/DockerServiceTests.cs @@ -23,7 +23,7 @@ public class DockerServiceTests public DockerServiceTests() => this.dockerService = new DockerService(this.loggerMock.Object); - [TestMethod] + [SkipTestOnWindows] public async Task DockerService_CanPingDockerAsync() { var canPingDocker = await this.dockerService.CanPingDockerAsync(); diff --git a/test/Microsoft.ComponentDetection.Common.Tests/SafeFileEnumerableTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/SafeFileEnumerableTests.cs index 1579128ca..eb991b45a 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/SafeFileEnumerableTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/SafeFileEnumerableTests.cs @@ -91,7 +91,6 @@ public void GetEnumerator_IgnoresSubDirectories() filesFound.Should().Be(1); } - [TestMethod] [SkipTestOnWindows] public void GetEnumerator_CallsSymlinkCode() { @@ -113,7 +112,6 @@ public void GetEnumerator_CallsSymlinkCode() this.pathUtilityServiceMock.Verify(x => x.ResolvePhysicalPath(subDir.FullName), Times.AtLeastOnce); } - [TestMethod] [SkipTestOnWindows] public void GetEnumerator_DuplicatePathIgnored() {