Skip to content

test: wait for stream close before writing to file - #30836

Closed
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:readline-test-await-close
Closed

test: wait for stream close before writing to file#30836
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:readline-test-await-close

Conversation

@addaleax

@addaleaxaddaleax commented Dec 7, 2019

Copy link
Copy Markdown
Member

Wait for async operations on a file to finish before writing to it
again.

This fixes flakiness in parallel/test-readline-async-iterators-destroy.

Fixes: #30660

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Wait for async operations on a file to finish before writing to it
again.
This fixes flakiness in parallel/test-readline-async-iterators-destroy.
Refs: nodejs#30660
@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Dec 7, 2019
@addaleaxaddaleax added the readline Issues and PRs related to the built-in readline module. label Dec 7, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@addaleaxaddaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Dec 10, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

addaleax added a commit that referenced this pull request Dec 10, 2019
Wait for async operations on a file to finish before writing to it
again.
This fixes flakiness in parallel/test-readline-async-iterators-destroy.
PR-URL: #30836Fixes: #30660
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@addaleax

Copy link
Copy Markdown
MemberAuthor

Landed in b7d87e3

@addaleax
addaleax deleted the readline-test-await-close branch December 10, 2019 20:52
targos pushed a commit that referenced this pull request Dec 11, 2019
Wait for async operations on a file to finish before writing to it
again.
This fixes flakiness in parallel/test-readline-async-iterators-destroy.
PR-URL: #30836Fixes: #30660
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@MylesBorinsMylesBorins mentioned this pull request Dec 13, 2019
targos pushed a commit that referenced this pull request Jan 14, 2020
Wait for async operations on a file to finish before writing to it
again.
This fixes flakiness in parallel/test-readline-async-iterators-destroy.
PR-URL: #30836Fixes: #30660
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@targostargos mentioned this pull request Jan 15, 2020
BethGriggs pushed a commit that referenced this pull request Feb 6, 2020
Wait for async operations on a file to finish before writing to it
again.
This fixes flakiness in parallel/test-readline-async-iterators-destroy.
PR-URL: #30836Fixes: #30660
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@MylesBorinsMylesBorins mentioned this pull request Feb 8, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.readlineIssues and PRs related to the built-in readline module.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

investigate flaky parallel/test-readline-async-iterators-destroy in CI

6 participants

@addaleax@nodejs-github-bot@bnoordhuis@Trott@lpinca@cjihrig