mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 11:38:15 +08:00
wip: removed some debug statements and all tests passing on my PC...feel there is something wrong with the service discovery test around task execution not completing
This commit is contained in:
@ -19,10 +19,9 @@ namespace Ocelot.AcceptanceTests
|
||||
private IWebHost _builderTwo;
|
||||
private IWebHost _fakeConsulBuilder;
|
||||
private readonly Steps _steps;
|
||||
private List<ServiceEntry> _serviceEntries;
|
||||
private readonly List<ServiceEntry> _serviceEntries;
|
||||
private int _counterOne;
|
||||
private int _counterTwo;
|
||||
private static readonly object _syncLock = new object();
|
||||
|
||||
public ServiceDiscoveryTests()
|
||||
{
|
||||
@ -101,8 +100,8 @@ namespace Ocelot.AcceptanceTests
|
||||
|
||||
private void ThenBothServicesCalledRealisticAmountOfTimes()
|
||||
{
|
||||
_counterOne.ShouldBeGreaterThan(25);
|
||||
_counterTwo.ShouldBeGreaterThan(25);
|
||||
_counterOne.ShouldBe(25);
|
||||
_counterTwo.ShouldBe(25);
|
||||
}
|
||||
|
||||
private void ThenTheTwoServicesShouldHaveBeenCalledTimes(int expected)
|
||||
|
Reference in New Issue
Block a user