-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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-worker's test do not pass when run in worker-farm #4745
Comments
A fix might be to drop Line throwing in worker-farm: https://github.com/rvagg/node-worker-farm/blob/1ee4adb56f7c78eb1f840d58586194e0a4c7474a/lib/child/index.js#L44 |
Yeah, this bug is really weird. It looks that the child processes executing the tests get messed up with something; probably |
Fixed in #5027. |
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. |
Do you want to request a feature or report a bug?
Either code bug or infrastructure bug
What is the current behavior?
packages/jest-worker/src/__tests__/child.test.js
does not pass when doing a full test run locally. It passes on CI as that's run using--runInBand
. It also passes locally if you just run that test.If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can
yarn install
andyarn test
.On current jest master (7db15f0)
This is also reported in #4630
/cc @mjesun as you wrote the test.
What is the expected behavior?
Test should pass
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
jest@7db15f0
,[email protected]
/[email protected]
/[email protected]
,[email protected]
, macOS High SierraThe text was updated successfully, but these errors were encountered: