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

Fix REBALANCING event test #1079

Merged
merged 1 commit into from
Apr 17, 2021
Merged

Conversation

t-d-d
Copy link
Contributor

@t-d-d t-d-d commented Apr 17, 2021

Test case code assumed the consumer was a node eventEmitter. In fact, the call to consumer.removeAllListeners() is an error as no such function exists. Error was swallowed, but the intent of the call not being met means that the test case is flakey.

Also, consumers weren't getting disconnected.

@Nevon
Copy link
Collaborator

Nevon commented Apr 17, 2021

Nice catch!

@Nevon Nevon merged commit aaf9b74 into tulios:master Apr 17, 2021
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.

None yet

2 participants