12 references to Requests
Microsoft.Extensions.Http.Resilience.Tests (12)
Hedging\HedgingTests.cs (11)
130Assert.Single(Requests); 131Assert.Equal("https://enpoint-1:80/some-path?query", Requests[0]); 177Assert.Equal(2, Requests.Count); 178Assert.Equal(2, Requests.Distinct().Count()); 201Assert.Equal(DefaultHedgingAttempts + 1, Requests.Count); 278Assert.Equal(2, Requests.Count); 301Assert.Equal(3, Requests.Count); 303Assert.Equal("https://enpoint-1:80/some-path?query", Requests[0]); 304Assert.Equal("https://enpoint-2:80/some-path?query", Requests[1]); 305Assert.Equal("https://enpoint-3:80/some-path?query", Requests[2]); 350Requests.Add(request.RequestUri!.ToString());
Hedging\StandardHedgingTests.cs (1)
295Requests.Should().AllSatisfy(r => r.Should().Be("https://some-endpoint:1234/some-path?query"));