Closed
Description
Failing Test(s)
- Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.HeartbeatLoopRunsWithSpecifiedInterval
Error Message
Assert.Collection() Failure
Collection: [00:00:00.3024529, 00:00:00.4045321, 00:00:00.3574691, 00:00:00.3452623, 00:00:00.6831543]
Expected item count: 4
Actual item count: 5
Stacktrace
at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.HeartbeatLoopRunsWithSpecifiedInterval() in /_/src/Servers/Kestrel/Core/test/HeartbeatTests.cs:line 72
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
Logs
| [0.010s] TestLifetime Information: Starting test HeartbeatLoopRunsWithSpecifiedInterval at 2024-04-22T18:23:44
| [0.396s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Heartbeat split: 302.4529ms
| [0.802s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Heartbeat split: 404.5321ms
| [1.159s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Heartbeat split: 357.4691ms
| [1.505s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Heartbeat split: 345.2623ms
| [1.733s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Heartbeat run 5 times. Notifying test.
| [2.389s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Starting heartbeat dispose.
| [2.416s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Information: Heartbeat split: 683.1543ms
| [4.845s] Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests Error: Test threw an exception.
| Xunit.Sdk.CollectionException: Assert.Collection() Failure
| Collection: [00:00:00.3024529, 00:00:00.4045321, 00:00:00.3574691, 00:00:00.3452623, 00:00:00.6831543]
| Expected item count: 4
| Actual item count: 5
| at Xunit.Assert.Collection[T](IEnumerable`1 collection, Action`1[] elementInspectors) in /_/src/xunit.assert/Asserts/CollectionAsserts.cs:line 157
| at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.HeartbeatLoopRunsWithSpecifiedInterval() in /_/src/Servers/Kestrel/Core/test/HeartbeatTests.cs:line 72
| at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
| at Xunit.Sdk.AsyncTestSyncContext.<>c__DisplayClass7_0.<Post>b__0() in /_/src/xunit.execution/Sdk/AsyncTestSyncContext.cs:line 58
| [4.851s] TestLifetime Information: Finished test HeartbeatLoopRunsWithSpecifiedInterval in 4.8460373s