Skip to content

Commit 012f08c

Browse files
Do not check status, it's irrelevant whether to asses if H/3 is working. (#119521)
Co-authored-by: ManickaP <[email protected]>
1 parent b801537 commit 012f08c

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
@@ -814,7 +814,6 @@ public async Task Public_Interop_ExactVersion_Success(string uri)
814814
};
815815
using HttpResponseMessage response = await client.SendAsync(request).WaitAsync(TimeSpan.FromSeconds(20));
816816

817-
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
818817
Assert.Equal(3, response.Version.Major);
819818
}
820819

@@ -833,7 +832,6 @@ public async Task Public_Interop_ExactVersion_BufferContent_Success(string uri)
833832
};
834833
using HttpResponseMessage response = await client.SendAsync(request, HttpCompletionOption.ResponseContentRead).WaitAsync(TimeSpan.FromSeconds(20));
835834

836-
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
837835
Assert.Equal(3, response.Version.Major);
838836

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

0 commit comments

Comments
 (0)