Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

fix(stdio): drain stdio before process.exit #244

Merged
merged 1 commit into from
Apr 23, 2021

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Apr 23, 2021

process.exit() may not flush stdio, which in turn can lead to the loss of output.
See nodejs/node#6456.

This issue manifests with max-failures should work test being flaky,
where we examine large output and it is sometimes truncated.

`process.exit()` may not flush stdio, which in turn can lead
to the loss of output.
See nodejs/node#6456.

This issue manifests with `max-failures should work` test being flaky,
where we examine large output and it is sometimes truncated.
@dgozman dgozman merged commit e218b2d into microsoft:master Apr 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants