-
Notifications
You must be signed in to change notification settings - Fork 666
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
Extended MockCluster to set a broker down and up again. Also added a … #992
Conversation
…example for "timeout testing".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR! It mostly looks good to me, there are a few minor comments.
Besides those, please add the example to examples/README.md, and examples/.gitignore as well.
There probably needs to be a CHANGELOG.md entry as well, but I can add that later.
Looks good. Made an internal branch, and created a PR using that for CI to run before the merge. #998 |
Hi folks. I'm wondering if this feature will be released soon. |
@@ -26,6 +26,7 @@ legacy/consumer_channel_example/consumer_channel_example | |||
legacy/producer_channel_example/producer_channel_example | |||
library-version/library-version | |||
mockcluster_example/mockcluster_example | |||
mockcluster_example/mockcluster_failure_example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just out of curiosity: why is this in .gitignore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HI.
Right... both entries for the mock cluster examples seams to be unnecessary. Looks like a copy&paste error.
Hi @kkoehler , could you sign the CLA, we'll need that before merging |
sorry, i thought that i signed already. done |
Right, it got reset, I think, for all contributors. Thanks for signing it again. |
Closing this as I merged the one on the internal branch with some minor changes and after running the CI. Thanks for this PR! |
Hi,
this PR adds the ability to set a MockCluster down and up again. With this change you're able to test not reachable clusters. A sample is also included.
Kristian