Skip to content

Commit f1f3459

Browse files
Do not check status, it's irrelevant whether to asses if H/3 is working. (#119523)
Co-authored-by: ManickaP <mapichov@microsoft.com>
1 parent f0dfc2f commit f1f3459

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,6 @@ public async Task Public_Interop_ExactVersion_Success(string uri)
730730
};
731731
using HttpResponseMessage response = await client.SendAsync(request).WaitAsync(TimeSpan.FromSeconds(20));
732732

733-
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
734733
Assert.Equal(3, response.Version.Major);
735734
}
736735

@@ -749,7 +748,6 @@ public async Task Public_Interop_ExactVersion_BufferContent_Success(string uri)
749748
};
750749
using HttpResponseMessage response = await client.SendAsync(request, HttpCompletionOption.ResponseContentRead).WaitAsync(TimeSpan.FromSeconds(20));
751750

752-
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
753751
Assert.Equal(3, response.Version.Major);
754752

755753
var content = await response.Content.ReadAsStringAsync();

0 commit comments

Comments
 (0)