[Test-Proxy] Make test recorder more efficient when recording LROs #2703
Labels
Central-EngSys
This issue is owned by the Engineering System team.
Test-Proxy
Anything relating to test-proxy requests or issues.
Library name
Azure.Core.TestFramework
Please describe the feature.
Right now when an LRO is recorded in the worst case where the service doesn't send back a Retry-After header the default will be to query for status every second. In management plane quite a few of our test cases take 15-60 minutes to record which results in an extremely large file which adds to test playback execution time since the recorder will need to find and deserialize all of those.
The enhancement would be to give the recorder context that it is recording an LRO and only log
With this set you can properly test an LRO scenario as all other recordings will be identical to Azure/azure-sdk-for-net#2. We could also potentially look at only recording if current != last just in case somewhere in the middle we get a slightly different response (I don't think this is possible).
The text was updated successfully, but these errors were encountered: