Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to set parent Channel when constructing EmbeddedChannel #9230

Merged
merged 1 commit into from
Jun 8, 2019

Conversation

normanmaurer
Copy link
Member

Motivation:

Sometimes it is beneficial to be able to set a parent Channel in EmbeddedChannel if the handler that should be tested depend on the parent.

Modifications:

  • Add another constructor which allows to specify a parent
  • Add unit tests

Result:

Fixes #9228.

Motivation:

Sometimes it is beneficial to be able to set a parent Channel in EmbeddedChannel if the handler that should be tested depend on the parent.

Modifications:

- Add another constructor which allows to specify a parent
- Add unit tests

Result:

Fixes #9228.
@normanmaurer
Copy link
Member Author

@ryanoneill PTAL

Copy link
Member

@carl-mastrangelo carl-mastrangelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@ryanoneill ryanoneill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@normanmaurer normanmaurer merged commit dc2649e into 4.1 Jun 8, 2019
@normanmaurer normanmaurer deleted the embedded_parent branch June 8, 2019 16:12
normanmaurer added a commit that referenced this pull request Jun 8, 2019
Motivation:

Sometimes it is beneficial to be able to set a parent Channel in EmbeddedChannel if the handler that should be tested depend on the parent.

Modifications:

- Add another constructor which allows to specify a parent
- Add unit tests

Result:

Fixes #9228.
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.

Support Setting Parent Channel for EmbeddedChannel
3 participants