#372 use period timespan to decide when client can make requests again (#404)

This commit is contained in:
Tom Pallister
2018-06-15 20:29:49 +01:00
committed by GitHub
parent 87c13bd9b4
commit 9979f8a4b8
4 changed files with 429 additions and 359 deletions

View File

@ -183,6 +183,11 @@ namespace Ocelot.AcceptanceTests
_ocelotClient = _ocelotServer.CreateClient();
}
internal void GivenIWait(int wait)
{
Thread.Sleep(wait);
}
public void GivenOcelotIsRunningWithMiddleareBeforePipeline<T>(Func<object, Task> callback)
{
_webHostBuilder = new WebHostBuilder();