-
-
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
--listTests with --forceExit doesn't flush the whole STDOUT #4274
Comments
I've been having some trouble reproducing it... This is what I've been running |
@rogeliog it only happens with very large output (for me it was when the output string was longer than 16 bit or 65536 characters) |
I can help by putting the fix but I'm still having some trouble reproducing it... I printed |
@rogeliog the original node issues says that it works synchronously on TTY terminals now, so that shouldn't reproduce in you local terminal. I was able to reproduce it by spawning a child process though |
seems like the issue is worse than i first though. |
Any update for this one? As a workaround, I'm using |
This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue was closed because it has been stalled for 7 days with no activity. Please open a new issue if the issue is still relevant, linking to this one. |
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. |
when using
--listTests --json
flag together withforceExit
config it might produce corrupted JSON, because the process exits before the whole STDOUT is flushed.Since we don't run any tests in
--listTests
mode we should disableforceExit
even if it's set to trueThe text was updated successfully, but these errors were encountered: