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