Skip to content

add unit test coverage for Python AsyncRPCServer #6485

Description

@eugenegujing

Task Summary

amber/src/main/python/core/architecture/rpc/async_rpc_server.py is the Python worker's control-message dispatch core (one instance per MainLoop).

No test in amber/src/test/python imports this module; existing runnables tests reach it only indirectly through MainLoop. The dispatch, error-wrapping, no-reply, and reply-routing branches are all unit-testable directly by constructing ControlInvocations against a real or stubbed handler map and asserting on what lands in the output queue.

Task Type

  • Refactor / Cleanup
  • DevOps / Deployment / CI
  • Testing / QA
  • Documentation
  • Performance
  • Other

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions