Skip to content

Consider replacing InterceptMessagesDestinedToServiceControl with SpyEndpoints #4176

Description

@danielmarbach

Describe the suggested improvement

Is your improvement related to a problem? Please describe.

Three acceptance tests are using InterceptMessagesDestinedToServiceControl to intercept messages that should go the the primary instance.

Describe the suggested solution

While this approach works we normally tend to use the concept of SpyEndpoints (example from Core) that are spun up on the destination that then handles those messages to verify that they actually arrive.

Describe alternatives you've considered

Additional Context

No response

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions