Skip to content

[Python SDK] Add unit tests for connection manager - #135

Merged
AbirAbbas merged 1 commit into
Agent-Field:mainfrom
hed1ad:feat/connection-manager-tests
Jan 9, 2026
Merged

[Python SDK] Add unit tests for connection manager#135
AbirAbbas merged 1 commit into
Agent-Field:mainfrom
hed1ad:feat/connection-manager-tests

Conversation

@hed1ad

@hed1ad hed1ad commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Add comprehensive unit tests for the ConnectionManager module (sdk/python).

Coverage includes:

  • Retry logic for transient failures
  • Timeout handling
  • Connection lifecycle (start, stop, reconnect)
  • Health check monitoring
  • Callbacks (on_connected, on_disconnected)
  • Error handling for various failure scenarios

43 tests, all passing.

Testing

  • ./scripts/test-all.sh
  • Additional verification (please describe):
image image

Checklist

  • I updated documentation where applicable.
  • I added or updated tests (or none were needed).
  • I updated CHANGELOG.md (or this change does not warrant a changelog entry).

Screenshots (if UI-related)

N/A

Related issues

Close #122

@CLAassistant

CLAassistant commented Jan 8, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@AbirAbbas
AbirAbbas merged commit 247da4d into Agent-Field:main Jan 9, 2026
19 checks passed
@hed1ad
hed1ad deleted the feat/connection-manager-tests branch January 9, 2026 16:09
@santoshkumarradha

Copy link
Copy Markdown
Member

celebrate-lets-go-gif-by-first-we-feast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Python SDK] Add unit tests for connection manager

4 participants