8 references to RetryRequestAsync
IISExpress.FunctionalTests (8)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
108await result.HttpClient.RetryRequestAsync("/WaitingRequestCount", async message => await message.Content.ReadAsStringAsync() == "1");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
107return RetryRequestAsync(client, uri, message => Task.FromResult(predicate(message)));
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (2)
708await _fixture.Client.RetryRequestAsync("/WaitingRequestCount", async message => await message.Content.ReadAsStringAsync() == "1"); 711await _fixture.Client.RetryRequestAsync("/WaitingRequestCount", async message => await message.Content.ReadAsStringAsync() == "0");
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (4)
478await deploymentResult.HttpClient.RetryRequestAsync("/ProcessId", async r => await r.Content.ReadAsStringAsync() != processBefore); 498await deploymentResult.HttpClient.RetryRequestAsync("/ProcessId", async r => await r.Content.ReadAsStringAsync() == processBefore); 518await deploymentResult.HttpClient.RetryRequestAsync("/ProcessId", async r => await r.Content.ReadAsStringAsync() == processBefore); 537await deploymentResult.HttpClient.RetryRequestAsync("/ProcessId", async r => await r.Content.ReadAsStringAsync() == processBefore);