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

Add delay before exiting tests for log flushing #39302

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Aug 3, 2022

This attempts moving the process.exit to the next tick to wait for the stdout/stderr logs have been flushed as we've seen test output get cut off here and there when a test fails

x-ref: https://github.com/vercel/next.js/runs/7612742424?check_suite_focus=true

@ijjk ijjk added the created-by: Next.js team PRs by the Next.js team label Aug 3, 2022
@ijjk ijjk requested a review from styfle August 3, 2022 20:34
@ijjk ijjk merged commit 2722876 into vercel:canary Aug 3, 2022
@ijjk ijjk deleted the add/test-exit-delay branch August 3, 2022 20:48
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants