From 93b4f2269a7722c31258a06202ee72fcfba61bf4 Mon Sep 17 00:00:00 2001 From: Tom Gardham-Pallister Date: Thu, 9 Nov 2017 09:07:54 +0000 Subject: [PATCH] changed assertions for test to be more realistic --- test/Ocelot.AcceptanceTests/ServiceDiscoveryTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Ocelot.AcceptanceTests/ServiceDiscoveryTests.cs b/test/Ocelot.AcceptanceTests/ServiceDiscoveryTests.cs index 5978f842..a856656e 100644 --- a/test/Ocelot.AcceptanceTests/ServiceDiscoveryTests.cs +++ b/test/Ocelot.AcceptanceTests/ServiceDiscoveryTests.cs @@ -100,8 +100,8 @@ namespace Ocelot.AcceptanceTests private void ThenBothServicesCalledRealisticAmountOfTimes() { - _counterOne.ShouldBe(26); - _counterTwo.ShouldBe(24); + _counterOne.ShouldBeInRange(24,26); + _counterOne.ShouldBeInRange(24,26); } private void ThenTheTwoServicesShouldHaveBeenCalledTimes(int expected)