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 async teardown issues #672

Closed
bjnewman opened this issue May 8, 2023 · 1 comment
Closed

Fix async teardown issues #672

bjnewman opened this issue May 8, 2023 · 1 comment

Comments

@bjnewman
Copy link
Contributor

bjnewman commented May 8, 2023

🐛 Bug report

Current Behavior

After upgrading from node 14 to 16, multiple projects are encountering CI failures where Jest unit tests hang and the builds timeout after an hour.

Expected behavior

Jest tests should exit appropriately, erroring/failing tests where necessary

Reproducible example

Internal reproduction available on request.

Suggested solution(s)

We could add a process.on('unhandledRejection') handler or otherwise force the node process to exit gracefully when jest hangs

Additional context

Node 14 was recently EOL so we have a lot of teams upgrading.

@gregmartDOTin
Copy link
Contributor

This was determined to be an issue with jest performance in node 16+. Please see #683 for more information.

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

No branches or pull requests

2 participants