Skip to content

Commit

Permalink
Fix test throwing from send (#82787)
Browse files Browse the repository at this point in the history
  • Loading branch information
ManickaP authored Mar 1, 2023
1 parent 01fe448 commit 7bb7265
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,9 @@ public async Task ReservedFrameType_Throws()
await using Http3LoopbackConnection connection = (Http3LoopbackConnection)await server.EstablishGenericConnectionAsync();
await using Http3LoopbackStream stream = await connection.AcceptRequestStreamAsync();

await stream.SendFrameAsync(ReservedHttp2PriorityFrameId, new byte[8]);

QuicException ex = await AssertThrowsQuicExceptionAsync(QuicError.ConnectionAborted, async () =>
{
await stream.SendFrameAsync(ReservedHttp2PriorityFrameId, new byte[8]);
await stream.HandleRequestAsync();
await using Http3LoopbackStream stream2 = await connection.AcceptRequestStreamAsync();
});
Expand Down

0 comments on commit 7bb7265

Please sign in to comment.