-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Conversation
@@ -365,7 +365,6 @@ public void WaitForConnectionOnAlreadyConnectedServer_Throws_InvalidOperationExc | |||
} | |||
} | |||
|
|||
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsSubsystemForLinux))] // https://github.com/Microsoft/BashOnWindows/issues/1011 | |||
[PlatformSpecific(TestPlatforms.AnyUnix)] // Unix implemented on sockets, where disposal information doesn't propagate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be replaced with [Fact] attribute, otherwise these tests won't be discovered by xunit..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops...
@@ -60,6 +60,7 @@ public void PropertiesOfInvalidDrive() | |||
Assert.Equal(invalidDriveName, invalidDrive.VolumeLabel); // VolumeLabel is equivalent to Name on Unix | |||
} | |||
|
|||
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsSubsystemForLinux))] // https://github.com/dotnet/corefx/issues/11570 | |||
[PlatformSpecific(TestPlatforms.AnyUnix)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intentional that you want to skip this test for subsystem?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, this test is still failing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, if CI passes!
@dotnet-bot test this please |
Disable some network tests on WindowsSubsystemForLinux due to https://github.com/dotnet/corefx/issues/15513
* Re-enable DriveInfo test on Windows Subsystem for Linux https://github.com/dotnet/corefx/issues/11570 * Re-enable additional tests on WSL Related microsoft/WSL#1011 and microsoft/WSL#308 * correct xunit Facts * Disable some network tests on WSL Disable some network tests on WindowsSubsystemForLinux due to https://github.com/dotnet/corefx/issues/15513 Commit migrated from dotnet/corefx@1e95551
Related microsoft/WSL#1011 and microsoft/WSL#308