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