Implemented interface member:
method
OnExit
Microsoft.AspNetCore.ConcurrencyLimiter.IQueuePolicy.OnExit()
11 references to OnExit
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (11)
PolicyTests\QueuePolicyTests.cs (1)
34
s.
OnExit
();
PolicyTests\StackPolicyTests.cs (10)
28
stack.
OnExit
();
32
stack.
OnExit
();
98
stack.
OnExit
(); // t1 exits, should free t2 to return
101
stack.
OnExit
(); // t2 exists, there's now a free spot in server
122
stack.
OnExit
();
128
stack.
OnExit
();
131
stack.
OnExit
();
143
Assert.Throws<InvalidOperationException>(() => stack.
OnExit
());
147
stack.
OnExit
();
149
Assert.Throws<InvalidOperationException>(() => stack.
OnExit
());