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

frequent MaxListenersExceededWarnings when running test suite #41404

Closed
boneskull opened this issue Nov 4, 2020 · 1 comment · Fixed by #41403
Closed

frequent MaxListenersExceededWarnings when running test suite #41404

boneskull opened this issue Nov 4, 2020 · 1 comment · Fixed by #41403
Labels
Fixed A PR has been merged for this issue Infrastructure Issue relates to TypeScript team infrastructure

Comments

@boneskull
Copy link
Contributor

TypeScript Version: master

Search Terms: MaxListenersExceededWarning, EventEmitter leak, leak

Code n/a

Expected behavior:

Running gulp runtests-parallel does not result in leak warnings

Actual behavior: Many leaks, e.g.

[Worker 0] (node:98823) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unhandledRejection listeners added to [process]. Use emitter.setMaxListeners() to increase limit

[Worker 1] (node:98824) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to increase limit

Playground Link: n/a

Related Issues: mochajs/mocha#4329, PR #41403

This may be a duplicate, but I have created it for #41403.

@DanielRosenwasser
Copy link
Member

I get this all the time on Codespaces containers...

@DanielRosenwasser DanielRosenwasser added Fixed A PR has been merged for this issue Infrastructure Issue relates to TypeScript team infrastructure labels Nov 11, 2020
@DanielRosenwasser DanielRosenwasser added this to the TypeScript 4.2.0 milestone Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed A PR has been merged for this issue Infrastructure Issue relates to TypeScript team infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants