dotnet / dotnet/efcore

DbContextPoolingTest.Concurrency_test fails consistently on my machine

Open
#32,700 8 comments 0 reactions 0 assignees View on GitHub
area-test
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

Failed tests
11.4838529s✘ Microsoft.EntityFrameworkCore.DbContextPoolingTest.Concurrency_test(useInterface: False, async: False)
Assert.InRange() Failure: Value not in range\r\nRange: (32 - 64)\r\nActual: 28
at Microsoft.EntityFrameworkCore.DbContextPoolingTest.Concurrency_test(Boolean useInterface, Boolean async) in D:\code\efcore\test\EFCore.SqlServer.FunctionalTests\DbContextPoolingTest.cs:line 2085
--- End of stack trace from previous location ---
Output:
[17:04:43.439] Requests: 2, RPS: 2
[17:04:44.557] Requests: 24, RPS: 20
[17:04:45.689] Requests: 88, RPS: 57
[17:04:46.851] Requests: 164, RPS: 65
[17:04:48.222] Requests: 265, RPS: 74
[17:04:49.597] Requests: 396, RPS: 95
[17:04:50.699] Requests: 632, RPS: 214
[17:04:51.798] Requests: 882, RPS: 227
[17:04:52.862] Requests: 1176, RPS: 276

Average RPS: 111
11.4982871s✘ Microsoft.EntityFrameworkCore.DbContextPoolingTest.Concurrency_test(useInterface: True, async: False)
Assert.InRange() Failure: Value not in range\r\nRange: (32 - 64)\r\nActual: 24
at Microsoft.EntityFrameworkCore.DbContextPoolingTest.Concurrency_test(Boolean useInterface, Boolean async) in D:\code\efcore\test\EFCore.SqlServer.FunctionalTests\DbContextPoolingTest.cs:line 2085
--- End of stack trace from previous location ---
Output:
[17:04:55.002] Requests: 13, RPS: 12
[17:04:56.068] Requests: 86, RPS: 68
[17:04:57.117] Requests: 162, RPS: 72
[17:04:58.246] Requests: 276, RPS: 101
[17:04:59.380] Requests: 421, RPS: 128
[17:05:00.567] Requests: 573, RPS: 128
[17:05:01.674] Requests: 757, RPS: 166
[17:05:02.734] Requests: 1050, RPS: 276
[17:05:03.827] Requests: 1332, RPS: 258
[17:05:04.879] Requests: 1571, RPS: 227

Average RPS: 144

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.