You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Fact]
public async Task DoAsyncTest()
{
using var httpTest = new HttpTest();
httpTest.RespondWith("Internal Server Error", 500);
var service = new MyService();
var result = await service.DoAsync();
result.ShouldBeTrue();
}
In the first round the 500 response is returned as expected, but in the second round the call responded with 200 OK.
Do I am using this in the right way or is this a bug?
The text was updated successfully, but these errors were encountered:
I have created a recursive retry logic if the call raises a FlurHttpException.
Implementation:
Test:
In the first round the 500 response is returned as expected, but in the second round the call responded with 200 OK.
Do I am using this in the right way or is this a bug?
The text was updated successfully, but these errors were encountered: