Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffrey Kizer committed Jul 13, 2021
1 parent 05bae0f commit a9c3ff5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public async Task Http2_DataSentBeforeServerPreface_ProtocolError()
DataFrame invalidFrame = new DataFrame(new byte[10], FrameFlags.Padded, 10, 1);
await connection.WriteFrameAsync(invalidFrame);

await AssertProtocolErrorAsync(sendTask, ProtocolErrors.PROTOCOL_ERROR);
await Assert.ThrowsAsync<HttpRequestException>(() => sendTask);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ public async Task ConnectTimeout_ConnectCallbackTimesOut_Throws(bool useSsl)
[InlineData(false)]
public async Task ConnectTimeout_PlaintextStreamFilterTimesOut_Throws(bool useSsl)
{
if (UseVersion == HttpVersion.Version30)
{
// HTTP3 does not support PlaintextStreamFilter
return;
}

var releaseServer = new TaskCompletionSource();
await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
{
Expand Down

0 comments on commit a9c3ff5

Please sign in to comment.