Skip to content

test: add block scoping to test-readline-interface - #14615

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:refactor-test-readline-interface
Closed

test: add block scoping to test-readline-interface#14615
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:refactor-test-readline-interface

Conversation

@Trott

@TrottTrott commented Aug 3, 2017

Copy link
Copy Markdown
Member

Use block-scoping in test-readline-interface to avoid side effects and
make tests more modular. (Some contain race conditions and will need to
be moved to the sequential directory if they can't be refactored to
avoid the race condition.)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test readline

@TrottTrott added readline Issues and PRs related to the built-in readline module. test Issues and PRs related to the tests. labels Aug 3, 2017
Use block-scoping in test-readline-interface to avoid side effects and
make tests more modular. (Some contain race conditions and will need to
be moved to the sequential directory if they can't be refactored to
avoid the race condition.)
@Trott
Trottforce-pushed the refactor-test-readline-interface branch from 203570b to a468f6cCompareAugust 3, 2017 21:14
@Trott

Trott commented Aug 4, 2017

Copy link
Copy Markdown
MemberAuthor

CI: https://ci.nodejs.org/job/node-test-pull-request/9490/ (Edit: known flaky tests and a build failure, unrelated to this PR, effectively green.)

Trott added a commit to Trott/io.js that referenced this pull request Aug 7, 2017
Use block-scoping in test-readline-interface to avoid side effects and
make tests more modular. (Some contain race conditions and will need to
be moved to the sequential directory if they can't be refactored to
avoid the race condition.)
PR-URL: nodejs#14615
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott

Trott commented Aug 7, 2017

Copy link
Copy Markdown
MemberAuthor

Landed in daf5596

@addaleax

Copy link
Copy Markdown
Member

This does not land cleanly on v8.x-staging, could you backport? I think #14681 depends on it.

Trott added a commit to Trott/io.js that referenced this pull request Aug 10, 2017
Use block-scoping in test-readline-interface to avoid side effects and
make tests more modular. (Some contain race conditions and will need to
be moved to the sequential directory if they can't be refactored to
avoid the race condition.)
PR-URL: nodejs#14615
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott

Copy link
Copy Markdown
MemberAuthor

@addaleax#14748

addaleax pushed a commit that referenced this pull request Aug 10, 2017
Use block-scoping in test-readline-interface to avoid side effects and
make tests more modular. (Some contain race conditions and will need to
be moved to the sequential directory if they can't be refactored to
avoid the race condition.)
Backport-PR-URL: #14748
Backport-Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #14615
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@addaleaxaddaleax mentioned this pull request Aug 13, 2017
MylesBorins pushed a commit that referenced this pull request Sep 19, 2017
Use block-scoping in test-readline-interface to avoid side effects and
make tests more modular. (Some contain race conditions and will need to
be moved to the sequential directory if they can't be refactored to
avoid the race condition.)
Backport-PR-URL: #14748
Backport-Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #14615
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request Sep 20, 2017
@Trott
Trott deleted the refactor-test-readline-interface branch January 13, 2022 22:46
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

6 participants

@Trott@addaleax@jasnell@cjihrig@hiroppy@MylesBorins