-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Disable test in System.Net.Sockets for UAP #21019
Conversation
@caesar1995, It will cover your contributions to all .NET Foundation-managed open source projects. |
@Caesar1995, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
@@ -13,7 +13,7 @@ namespace System.Net.Sockets.Tests | |||
public class LoggingTest : RemoteExecutorTestBase | |||
{ | |||
[Fact] | |||
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "NetEventSource is only part of .NET Core")] | |||
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework | TargetFrameworkMonikers.Uap, "NetEventSource is only part of .NET Core and requires internal Reflection.")] |
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.
I think the SkipOnTargetFramework attribute should be left alone. This test will never run on .NET Framework.
However, skipping the test on Uap is temporary and will be solved as part of getting NetEventSource working on Uap. So, for now, you should add an ActiveIssue attribute for that and leave the SkipOnTargetFramework attribute alone.
Comment applies to similar changes below.
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.
ok, will fix
@davidsh Do I need to run Outerloop tests for my changes in this PR? |
Normally, no, because you only disabled tests. But you also added back a Fact attribute which means you added a new test to Outerloop
So, you should run Outerloop for Windows and *Nix on this PR. |
@dotnet-bot help |
Welcome to the dotnet/corefx Repository The following is a list of valid commands on this PR. To invoke a command, comment the indicated phrase on the PR The following commands are valid for all PRs and repositories. Click to expand
The following jobs are launched by default for each PR against dotnet/corefx:master. Click to expand
The following optional jobs are available in PRs against dotnet/corefx:master. Click to expand
Have a nice day! |
@dotnet-bot test outerloop netcoreapp Windows 7 Release |
@dotnet-bot test Innerloop Tizen armel Release Cross Build (The build timed out) |
@dotnet-bot test OuterLoop netcoreapp OSX10.12 Debug x64 (The plugin hasn't been performed correctly: Problem on deletion) |
@dotnet-bot test portable linux x64 release build (https://github.com/dotnet/corefx/issues/20441) |
Now System.Net.Sockets.Functional tests will run clean in both innerloop and outerloop for UAP.
I added the [Fact] label back for MulticastInterface_Set_AnyInterface_Succeeds(). The test will never run with only [Outerloop] label. See details here: 6257f45#commitcomment-22500352
Contributes to: #20135