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

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

Merged
Dmitry Gozman (dgozman) merged 1 commit into
microsoft:masterfrom
dgozman:drain-stdio
Apr 23, 2021
Merged

Dmitry Gozman (dgozman) merged 1 commit into
microsoft:masterfrom
dgozman:drain-stdio

Conversation

@dgozman

Copy link
Copy Markdown
Contributor

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
Dmitry Gozman (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