Skip to content

Commit 8d99e41

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

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

783-
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
784783
Assert.Equal(3, response.Version.Major);
785784
}
786785

@@ -799,7 +798,6 @@ public async Task Public_Interop_ExactVersion_BufferContent_Success(string uri)
799798
};
800799
using HttpResponseMessage response = await client.SendAsync(request, HttpCompletionOption.ResponseContentRead).WaitAsync(TimeSpan.FromSeconds(20));
801800

802-
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
803801
Assert.Equal(3, response.Version.Major);
804802

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

0 commit comments

Comments
 (0)