Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Re-enable additional tests on WSL #25807

Merged
merged 6 commits into from
Dec 12, 2017
Merged

Re-enable additional tests on WSL #25807

merged 6 commits into from
Dec 12, 2017

Conversation

joshfree
Copy link
Member

@joshfree joshfree commented Dec 9, 2017

@joshfree joshfree added area-System.IO area-System.Net os-windows-wsl WSL (Windows Subsystem for Linux) OS - Linux binaries running on Windows test bug Problem in test source code (most likely) labels Dec 9, 2017
@joshfree joshfree added this to the 2.1.0 milestone Dec 9, 2017
@joshfree joshfree self-assigned this Dec 9, 2017
@joshfree joshfree requested a review from Priya91 December 9, 2017 00:14
@@ -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
Copy link
Contributor

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..

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops...

@karelz karelz removed area-System.Net test bug Problem in test source code (most likely) labels Dec 9, 2017
@@ -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)]
Copy link
Contributor

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?

Copy link
Member Author

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.

Copy link
Contributor

@Priya91 Priya91 left a 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!

@joshfree
Copy link
Member Author

@dotnet-bot test this please

@joshfree joshfree added the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Dec 11, 2017
Disable some network tests on WindowsSubsystemForLinux due to https://github.com/dotnet/corefx/issues/15513
@joshfree joshfree removed the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Dec 12, 2017
@joshfree joshfree merged commit 1e95551 into dotnet:master Dec 12, 2017
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.IO os-windows-wsl WSL (Windows Subsystem for Linux) OS - Linux binaries running on Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants