mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-18 23:38:16 +08:00
removed some code we dont need as not expecting any errors so should just throw an exception to the global handler
This commit is contained in:
@ -51,7 +51,7 @@ namespace Ocelot.UnitTests.LoadBalancer
|
||||
{
|
||||
var hostAndPort = await _leastConnection.Lease();
|
||||
await Task.Delay(_random.Next(1, 100));
|
||||
var response = _leastConnection.Release(hostAndPort.Data);
|
||||
_leastConnection.Release(hostAndPort.Data);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
Reference in New Issue
Block a user