Skip to content

Commit 3fe3995

Browse files
author
Lakshmi Priya Sekar
committed
More test fixes from CI.
1 parent 29374f8 commit 3fe3995

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Authentication.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class HttpClientHandler_Authentication_Test : HttpClientTestBase
3434
[MemberData(nameof(Authentication_TestData))]
3535
public async Task HttpClientHandler_Authentication_Succeeds(string authenticateHeader, bool result)
3636
{
37-
if (IsCurlHandler && authenticateHeader.Contains("Digest"))
37+
if (PlatformDetection.IsWindowsNanoServer || (IsCurlHandler && authenticateHeader.Contains("Digest")))
3838
{
3939
// TODO: #27113: Fix failing authentication test cases on different httpclienthandlers.
4040
return;
@@ -75,7 +75,7 @@ public async void HttpClientHandler_MultipleAuthenticateHeaders_WithSameAuth_Suc
7575
[InlineData("WWW-Authenticate: Digest realm=\"hello\", nonce=\"hello\", algorithm=MD5\r\nWWW-Authenticate: Basic realm=\"hello\"\r\n")]
7676
public async Task HttpClientHandler_MultipleAuthenticateHeaders_Succeeds(string authenticateHeader)
7777
{
78-
if (IsCurlHandler && authenticateHeader.Contains("Digest"))
78+
if (PlatformDetection.IsWindowsNanoServer || (IsCurlHandler && authenticateHeader.Contains("Digest")))
7979
{
8080
// TODO: #27113: Fix failing authentication test cases on different httpclienthandlers.
8181
return;

0 commit comments

Comments
 (0)