We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de013d4 commit cc33b22Copy full SHA for cc33b22
src/Servers/Kestrel/test/InMemory.FunctionalTests/Http3/Http3StreamTests.cs
@@ -1685,6 +1685,10 @@ public async Task FrameAfterTrailers_UnexpectedFrameError()
1685
var requestStream = await InitializeConnectionAndStreamsAsync(_noopApplication);
1686
1687
await requestStream.SendHeadersAsync(headers, endStream: false);
1688
+
1689
+ // The app no-ops quickly. Wait for it here so it's not a race with the error response.
1690
+ await requestStream.ExpectHeadersAsync();
1691
1692
await requestStream.SendDataAsync(Encoding.UTF8.GetBytes("Hello world"));
1693
await requestStream.SendHeadersAsync(trailers, endStream: false);
1694
await requestStream.SendDataAsync(Encoding.UTF8.GetBytes("This is invalid."));
0 commit comments