Skip to content

Add connection retry-exhaustion test #14

Description

@MitulShah1

There is no test verifying retry-exhaustion behaviour. TestRetryBackoff covers backoff timing, but not:

  1. Retries happen exactly max_retries times.
  2. FerroConnectionError is raised after retries are exhausted.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions