mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 14:20:29 +01:00
Add to LogEntries before Task completed #461
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kelvin-a-law on GitHub (Oct 17, 2022).
Originally assigned to: @StefH on GitHub.
Whilst testing timeout and retry policies I came across an issue where LogEntries were not updated before the test finished. Take this example, not exact code:
The
WithDelay(1000)will cause the policy to timeout (within 300ms), eventually throwing a TimeoutRejectedException, the test will end with a printed line ofCalls made: 1as the other calls are still processing.Can we add the
LogEntryas soon as the request has been received, update when match has been made, with null values for the response, then update it when a response has been created?@StefH commented on GitHub (Nov 7, 2022):
@kelvin-a-law
This will require some advanced changes in the current logic, I need to think on that if this can be updated, or that';s too much work.