Skip to content

Commit

Permalink
Disable tests for 43931 and 46030 (#46031)
Browse files Browse the repository at this point in the history
* Disable tests for 43931 and 46030

* Add [ActiveIssue] in comment
  • Loading branch information
MihaZupan committed Dec 14, 2020
1 parent e53e543 commit 37278f8
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ await listener.RunWithCallbackAsync(e => events.Enqueue((e, e.ActivityId)), asyn
[MemberData(nameof(SocketMethods_WithBools_MemberData))]
public void EventSource_SocketConnectFailure_LogsConnectFailed(string connectMethod, bool useDnsEndPoint)
{
if (useDnsEndPoint)
{
// [ActiveIssue("https://github.com/dotnet/runtime/issues/43931")]
throw new SkipTestException("https://github.com/dotnet/runtime/issues/43931");
}

RemoteExecutor.Invoke(async (connectMethod, useDnsEndPointString) =>
{
EndPoint endPoint = await GetRemoteEndPointAsync(useDnsEndPointString, port: 12345);
Expand Down Expand Up @@ -263,6 +269,12 @@ await Assert.ThrowsAnyAsync<Exception>(async () =>
[InlineData("Eap", false)]
public void EventSource_ConnectAsyncCanceled_LogsConnectFailed(string connectMethod, bool useDnsEndPoint)
{
if (useDnsEndPoint)
{
// [ActiveIssue("https://github.com/dotnet/runtime/issues/46030")]
throw new SkipTestException("https://github.com/dotnet/runtime/issues/46030");
}

RemoteExecutor.Invoke(async (connectMethod, useDnsEndPointString) =>
{
EndPoint endPoint = await GetRemoteEndPointAsync(useDnsEndPointString, port: 12345);
Expand Down

0 comments on commit 37278f8

Please sign in to comment.