Azure / Azure/azure-sdk-for-rust

Write tests mimicking slow and intermittent network responses

Open
#1,953 2 comments 0 reactions 1 assignee Claimed by @heaths View on GitHub
Azure.Core Client
Dominant language
Rust
Stars
884
Forks
365
Avg merge
2d 14h
Merged PRs (30d)
111

Description

As follow up from discussions, implement some integrations in `azure_core` that mimic slow, chunky network responses where some of those chunks may exhibit a network error. This point is to make sure that - whether calling `Response::into_body()` and streaming the `ResponseBody` or calling `Response::deserialize_body()` - we correctly retry requests.

Note: this is not about ranged request headers e.g., with Storage, but that we at least start over from the beginning and try again for both retriable HTTP status codes as well as network "hiccups".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.