Skip to content

Commit

Permalink
Merged PR 20577: Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BrennanConroy committed Jan 10, 2022
1 parent 04a113d commit 5e8131b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ await ExpectAsync(Http2FrameType.HEADERS,
withStreamId: 1);

// TriggerTick will trigger the stream to be returned to the pool so we can assert it
TriggerTick();
TriggerTick(_serviceContext.MockSystemClock.UtcNow);

// Stream has been returned to the pool
Assert.Equal(1, _connection.StreamPool.Count);
Expand All @@ -263,7 +263,7 @@ await ExpectAsync(Http2FrameType.HEADERS,
withStreamId: 3);

// TriggerTick will trigger the stream to be returned to the pool so we can assert it
TriggerTick();
TriggerTick(_serviceContext.MockSystemClock.UtcNow);

// Stream has been returned to the pool
Assert.Equal(1, _connection.StreamPool.Count);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http3;
using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Primitives;
using Microsoft.Net.Http.Headers;
using Xunit;
using Http3SettingType = Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http3.Http3SettingType;
Expand Down

0 comments on commit 5e8131b

Please sign in to comment.