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

Jest gets force exited when called via test:all #3150

Closed
trivikr opened this issue Jan 6, 2022 · 2 comments
Closed

Jest gets force exited when called via test:all #3150

trivikr opened this issue Jan 6, 2022 · 2 comments
Labels
bug This issue is a bug. closed-for-staleness

Comments

@trivikr
Copy link
Member

trivikr commented Jan 6, 2022

Describe the bug

Jest shows the following message on running test:all

A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.

Test Suites: 2 skipped, 228 passed, 228 of 230 total
Tests:       20 skipped, 3641 passed, 3661 total
Snapshots:   0 total
Time:        29.497 s
Ran all test suites in 94 projects.

Your environment

SDK version number

main branch

Is the issue in the browser/Node.js/ReactNative?

Unit Testing

Details of the browser/Node.js/ReactNative version

N/A

Steps to reproduce

Run yarn test:all

Observed behavior

Jest gets force exited, but shows success.
This issue is not reproducible in CI though, checked in the latest run on main branch at sdk-staging-test:af48d0df-0b4f-4521-a939-7c39ba25442b

Expected behavior

Jest does not force exit

Additional context

This issue was noticed while debugging Jest Out of Memory error in #3149

@trivikr trivikr added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. and removed needs-triage This issue or PR still needs to be triaged. labels Jan 6, 2022
@github-actions
Copy link

github-actions bot commented Jan 7, 2023

Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Jan 7, 2023
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue is a bug. closed-for-staleness
Projects
None yet
Development

No branches or pull requests

1 participant