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

[Service Bus] MaxListenersExceededWarning during the test runs - both node and browser #11154

Closed
HarshaNalluru opened this issue Sep 9, 2020 · 2 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Service Bus test-reliability Issue that causes tests to be unreliable

Comments

@HarshaNalluru
Copy link
Member

Warning occurring in both node and browser.
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 sender_error listeners added to [Sender]. Use emitter.setMaxListeners() to increase limit

image

Pipeline https://dev.azure.com/azure-sdk/internal/_build/results?buildId=530232&view=logs&j=34d05327-3286-5fd0-44d3-76aebff5d924&t=d726e143-6308-5465-2a45-ec34d6ea866c

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Sep 9, 2020
@ramya-rao-a ramya-rao-a added Client This issue points to a problem in the data-plane of the library. Service Bus labels Sep 10, 2020
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Sep 10, 2020
@ramya-rao-a ramya-rao-a added this to the [2020] October milestone Sep 10, 2020
@HarshaNalluru HarshaNalluru self-assigned this Sep 10, 2020
@ramya-rao-a
Copy link
Contributor

While this is fixed with the changes in #11175, the long term fix as described in #11175 (comment) is still desriable

@chradek
Copy link
Contributor

chradek commented Aug 24, 2021

Looks like @HarshaNalluru already fixed this in #11738. The error event handlers are passed in the receiver/sender options now rather than attached later.

@chradek chradek closed this as completed Aug 24, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Service Bus test-reliability Issue that causes tests to be unreliable
Projects
None yet
Development

No branches or pull requests

4 participants