There is no test verifying retry-exhaustion behaviour. TestRetryBackoff covers backoff timing, but not:
- Retries happen exactly
max_retries times.
FerroConnectionError is raised after retries are exhausted.
max_retries=0 performs no retries.
What to do
Mock httpx.ConnectError and assert the retry count plus the final FerroConnectionError. Add to tests/test_sdk.py.
There is no test verifying retry-exhaustion behaviour.
TestRetryBackoffcovers backoff timing, but not:max_retriestimes.FerroConnectionErroris raised after retries are exhausted.max_retries=0performs no retries.What to do
Mock
httpx.ConnectErrorand assert the retry count plus the finalFerroConnectionError. Add totests/test_sdk.py.