Skip to content

test: remove bluebird remnants from test fixture - #31435

Merged
Trott merged 1 commit into
nodejs:masterfrom
Trott:de-bluebird
Jan 23, 2020
Merged

test: remove bluebird remnants from test fixture#31435
Trott merged 1 commit into
nodejs:masterfrom
Trott:de-bluebird

Conversation

@Trott

Copy link
Copy Markdown
Member

The test fixture in test/fixtures/bluebird was largely copied from
bluebird, where a regression in Node.js was discovered. Simplify the
test by removing a lot of things that aren't necessary to replicate the
problem. Change name from bluebird to something less likely to cause
someone to believe that we are actually loading bluebird (as we are
not).

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

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Jan 21, 2020
@TrottTrott changed the title test: de-bluebird-ize test fixturetest: remove bluebird remnants from test fixtureJan 21, 2020
@Trott
Trott requested a review from richardlauJanuary 21, 2020 05:46
@nodejs-github-bot

This comment has been minimized.

@richardlaurichardlau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Left an observation.

Comment threadtest/fixtures/fhqwhgads/node_modules/fhqwhgads/package.json Outdated
@mscdex

Copy link
Copy Markdown
Contributor

I'm not sure that 'fhqwhgads' is a better name. Perhaps something more descriptive would be better...

@Trott

Trott commented Jan 21, 2020

Copy link
Copy Markdown
MemberAuthor

I'm not sure that 'fhqwhgads' is a better name. Perhaps something more descriptive would be better...

Open to suggestions if we can make it reasonably concise but still meaningful. enoent-main-with-valid-copy-in-node-modules is about twice as long as I'd like.

Comment threadtest/fixtures/fhqwhgads/package.json Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use package-name instead of the random characters.

@Trott

Copy link
Copy Markdown
MemberAuthor

@mscdex@BridgeAR I changed the name to package-main-enoent and added a comment that explains more fully.

@nodejs-github-bot

This comment has been minimized.

@aks-aks- left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 22, 2020
The test fixture in test/fixtures/bluebird was largely copied from
bluebird, where a regression in Node.js was discovered. Simplify the
test by removing a lot of things that aren't necessary to replicate the
problem. Change name from bluebird to something less likely to cause
someone to believe that we are actually loading bluebird (as we are
not).
PR-URL: nodejs#31435
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: David Carlier <devnexen@gmail.com>
@Trott

Copy link
Copy Markdown
MemberAuthor

Landed in dc90f92

@Trott
Trott merged commit dc90f92 into nodejs:masterJan 23, 2020
@Trott
Trott deleted the de-bluebird branch January 23, 2020 06:11
codebytere pushed a commit that referenced this pull request Feb 17, 2020
The test fixture in test/fixtures/bluebird was largely copied from
bluebird, where a regression in Node.js was discovered. Simplify the
test by removing a lot of things that aren't necessary to replicate the
problem. Change name from bluebird to something less likely to cause
someone to believe that we are actually loading bluebird (as we are
not).
PR-URL: #31435
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: David Carlier <devnexen@gmail.com>
@codebyterecodebytere mentioned this pull request Feb 17, 2020
codebytere pushed a commit that referenced this pull request Mar 15, 2020
The test fixture in test/fixtures/bluebird was largely copied from
bluebird, where a regression in Node.js was discovered. Simplify the
test by removing a lot of things that aren't necessary to replicate the
problem. Change name from bluebird to something less likely to cause
someone to believe that we are actually loading bluebird (as we are
not).
PR-URL: #31435
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: David Carlier <devnexen@gmail.com>
codebytere pushed a commit that referenced this pull request Mar 17, 2020
The test fixture in test/fixtures/bluebird was largely copied from
bluebird, where a regression in Node.js was discovered. Simplify the
test by removing a lot of things that aren't necessary to replicate the
problem. Change name from bluebird to something less likely to cause
someone to believe that we are actually loading bluebird (as we are
not).
PR-URL: #31435
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: David Carlier <devnexen@gmail.com>
@codebyterecodebytere mentioned this pull request Mar 17, 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.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@Trott@nodejs-github-bot@mscdex@devnexen@richardlau@aks-@BridgeAR