Skip to content

Commit 2018ffd

Browse files
committed
Updated test traits
1 parent 7aaf549 commit 2018ffd

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

StandardSocketsHttpHandler.FunctionalTests/HttpClientHandlerTest.Proxy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public HttpClientHandler_Proxy_Test(ITestOutputHelper output)
2424
_output = output;
2525
}
2626

27+
[Trait("Category", "WindowsAuthentication")]
2728
[OuterLoop("Uses external server")]
2829
[Theory]
2930
[InlineData(AuthenticationSchemes.Ntlm, true, false)]

StandardSocketsHttpHandler.FunctionalTests/HttpClientHandlerTest.ServerCertificates.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public async Task NoCallback_ValidCertificate_SuccessAndExpectedPropertyBehavior
7272
}
7373
}
7474

75+
[ActiveIssue(27629)] // https://github.com/dotnet/runtime/issues/27629
7576
[SkipOnTargetFramework(TargetFrameworkMonikers.Uap, "UAP won't send requests through a custom proxy")]
7677
[OuterLoop] // TODO: Issue #11345
7778
[Fact]
@@ -437,6 +438,7 @@ public async Task SSLBackendNotSupported_Revocation_ThrowsPlatformNotSupportedEx
437438
}
438439
}
439440

441+
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Backport issue")] // Not working on .NET Framework, probably related to HttpContent.CopyToAsync
440442
[OuterLoop] // TODO: Issue #11345
441443
[PlatformSpecific(TestPlatforms.Windows)] // CopyToAsync(Stream, TransportContext) isn't used on unix
442444
[Fact]

StandardSocketsHttpHandler.FunctionalTests/HttpClientTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ public async Task SendAsync_DuplicateRequest_ThrowsException()
340340
}
341341
}
342342

343+
// https://github.com/dotnet/runtime/issues/25789
344+
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, ".NET Framework disposes request content after send")]
343345
[Fact]
344346
public async Task SendAsync_RequestContentNotDisposed()
345347
{

StandardSocketsHttpHandler.FunctionalTests/SocketsHttpHandlerTest.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,9 @@ public void ConnectTimeout_SetAfterUse_Throws()
405405
}
406406
}
407407

408+
// Note: There is a suggested fix to this issue (https://github.com/dotnet/corefx/pull/38211),
409+
// Unfortunetely the suggested fix will throw either TaskCanceledException or OperationCancelledException, so the exception is not consisdent.
410+
[ActiveIssue(26340)] // https://github.com/dotnet/runtime/issues/26340
408411
[OuterLoop]
409412
[Fact]
410413
public async Task ConnectTimeout_TimesOutSSLAuth_Throws()

0 commit comments

Comments
 (0)