Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Re-enable additional tests on WSL - #25807

Merged
joshfree merged 6 commits into
dotnet:masterfrom
joshfree:master
Dec 12, 2017
Merged

joshfree merged 6 commits into
dotnet:masterfrom
joshfree:master

Conversation

@joshfree

@joshfree joshfree commented Dec 9, 2017

Copy link
Copy Markdown
Member

@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
}

[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
Copy Markdown
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
Copy Markdown
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
}

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsSubsystemForLinux))] // https://github.com/dotnet/corefx/issues/11570
[PlatformSpecific(TestPlatforms.AnyUnix)]

Copy link
Copy Markdown
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
Copy Markdown
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.

@Priya91 Priya91 left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
@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