[Storage][DataMovement] Tests with expected failure cannot run in playback #46717
Labels
Client
This issue points to a problem in the data-plane of the library.
Storage
Storage Service (Queues, Blobs, Files)
test-reliability
Issue that causes tests to be unreliable
Certain tests that expect a failure to occur during a transfer are difficult to run in Playback mode as there could be differences in how far the transfer made it before the transfer was cancelled due to failure. This can cause the test to fail for missing recordings when running in playback if the playback test tries to run further than the test did when it was recorded.
We either need to find a way have the recoding file contain all necessary requests so it doesn't matter how far the playback test runs, find a way to ignore the recording failures (if this is okay to do in these tests), or find a way to fail at a known spot, likely through mocking.
The text was updated successfully, but these errors were encountered: