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

[Bug]: Test runner stalls if worker runs out of memory #13052

Closed
phawxby opened this issue Jul 21, 2022 · 3 comments
Closed

[Bug]: Test runner stalls if worker runs out of memory #13052

phawxby opened this issue Jul 21, 2022 · 3 comments

Comments

@phawxby
Copy link
Contributor

phawxby commented Jul 21, 2022

Version

28.1.3

Steps to reproduce

  1. Clone repo https://github.com/phawxby/jest-stall
  2. npm install
  3. npm run test

Expected behavior

Out of memory error triggers test failure

Actual behavior

Runner stalls waiting for worker test results to return indefinitely

Additional context

This appears to be cause of the stalling identified here.
#11956 (comment)

This doesn't happen if only testing a single file, IE npm run test bad

Environment

System:
    OS: macOS 12.4
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 18.4.0 - ~/.nvm/versions/node/v18.4.0/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 8.12.1 - ~/.nvm/versions/node/v18.4.0/bin/npm
  npmPackages:
    jest: ^28.1.3 => 28.1.3
@SimenB
Copy link
Member

SimenB commented Jul 22, 2022

#13054

@SimenB SimenB closed this as completed Jul 22, 2022
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 22, 2022
@SimenB
Copy link
Member

SimenB commented Aug 25, 2022

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants