-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kestrel HttpClient Http2 interop tests #11869
Conversation
390bcea
to
0d2c847
Compare
0023e66
to
a7c71aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of my complaints are based on test refactoring.
src/Servers/Kestrel/test/Interop.FunctionalTests/H2SpecTests.cs
Outdated
Show resolved
Hide resolved
src/Servers/Kestrel/test/Interop.FunctionalTests/HttpClientHttp2InteropTests.cs
Outdated
Show resolved
Hide resolved
src/Servers/Kestrel/test/Interop.FunctionalTests/HttpClientHttp2InteropTests.cs
Outdated
Show resolved
Hide resolved
src/Servers/Kestrel/test/Interop.FunctionalTests/HttpClientHttp2InteropTests.cs
Outdated
Show resolved
Hide resolved
src/Servers/Kestrel/test/Interop.FunctionalTests/HttpClientHttp2InteropTests.cs
Outdated
Show resolved
Hide resolved
src/Servers/Kestrel/test/Interop.FunctionalTests/HttpClientHttp2InteropTests.cs
Show resolved
Hide resolved
src/Servers/Kestrel/test/Interop.FunctionalTests/HttpClientHttp2InteropTests.cs
Show resolved
Hide resolved
var response = await responseTask; | ||
|
||
Assert.Equal(HttpVersion.Version20, response.Version); | ||
var stream = await response.Content.ReadAsStreamAsync(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably be putting DefaultTimeout() on all awaits in the main test method to be safe. I know it's annoying, but I think that should include stuff like HostBuilder.StartAsync() too.
bdb5415
to
d1b4548
Compare
#4763 (comment) Incremental progress
Found a low priority client bug in bidirectional streaming: https://github.com/dotnet/corefx/issues/39404