GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: rename regression tests with descriptive file names (pt. 3) by ryzokuken · Pull Request #19275 · nodejs/node

Conversation

@ryzokuken

@ryzokuken ryzokuken commented Mar 10, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Rename the tests appropriately alongside mentioning the subsystem
Also, make a few basic changes to make sure the tests conforms to the standard test structure

Refs: #19105
Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure

Checklist

  • test/parallel/test-regress-GH-4948.js
  • test/parallel/test-regress-GH-5051.js
  • test/parallel/test-regress-GH-5727.js
  • test/parallel/test-regress-GH-5927.js
  • test/parallel/test-regress-GH-6235.js
  • test/parallel/test-regress-GH-9819.js

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to Node.js core tests and test infrastructure. label Mar 10, 2018
BridgeAR
BridgeAR approved these changes Mar 10, 2018
View reviewed changes
@BridgeAR

BridgeAR commented Mar 10, 2018

Copy link
Copy Markdown
Member

CI https://ci.nodejs.org/job/node-test-pull-request/13613/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BridgeAR BridgeAR added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Mar 10, 2018
lpinca
lpinca reviewed Mar 11, 2018
View reviewed changes
Comment thread test/parallel/test-net-listen-invalid-port.js Outdated

@lpinca lpinca Mar 11, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Nit: spurious if before "a rangeError"?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread test/parallel/test-http-socket-parser-null.js Outdated

@lpinca lpinca Mar 11, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I'm struggling to understand this description and test. I think this is actually not testing anything as IncomingMessage.prototype._dump() no longer touches this.socket.parser.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ryzokuken ryzokuken Mar 11, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

You're right. It no longer touches the value if it's null already. I'll try to improve this comment further.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ryzokuken

ryzokuken commented Mar 11, 2018

Copy link
Copy Markdown
Contributor Author

@lpinca does the new description seem satisfactory? I tried improving it, let me know if it's better.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lpinca

lpinca commented Mar 11, 2018

Copy link
Copy Markdown
Member

Yes, thanks. I think that test can be removed but it's probably better to discuss that in a separate and dedicated PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

lpinca
lpinca approved these changes Mar 11, 2018
View reviewed changes
@ryzokuken

ryzokuken commented Mar 11, 2018

Copy link
Copy Markdown
Contributor Author

@lpinca Sure! Do you think I should make an issue for that?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lpinca

lpinca commented Mar 11, 2018

Copy link
Copy Markdown
Member

@ryzokuken yes it makes sense. Opening a PR to start a discussion is also ok.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ryzokuken added a commit to ryzokuken/node that referenced this pull request Mar 11, 2018
@ryzokuken
test: delete test/parallel/test-regress-GH-4948
8f3a863
Refs: nodejs#19275 (comment)
@ryzokuken ryzokuken mentioned this pull request Mar 11, 2018
test: delete test-regress-GH-4948 #19279
Closed
jasnell
jasnell approved these changes Mar 11, 2018
View reviewed changes
lpinca pushed a commit that referenced this pull request Mar 13, 2018
@ryzokuken @lpinca
test: delete test/parallel/test-regress-GH-4948
52e869b
PR-URL: #19279
Refs: #19275 (comment)
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@lpinca

lpinca commented Mar 13, 2018

Copy link
Copy Markdown
Member

@ryzokuken can you please remove d7a6757. I would also squash commits keeping only one and adding in the commit message something like this:

- Rename test-regress-GH-9819.js to test-crypto-tostring-segfault
- Rename test-regress-GH-5051.js to test-http-addrequest-localaddress
...
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ryzokuken
ryzokuken force-pushed the test/rename-regression-2 branch from 9b6950d to dff7294 Compare March 13, 2018 17:19
@ryzokuken

ryzokuken commented Mar 13, 2018

Copy link
Copy Markdown
Contributor Author

@lpinca I hope this is what you were asking for? I'm sorry it was my first-time cherrypicking commits. 😅

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lpinca

lpinca commented Mar 13, 2018

Copy link
Copy Markdown
Member

Yes, looks good, now if you can squash all of them into a single commit that would be great, otherwise we can do that before landing.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lpinca

lpinca commented Mar 13, 2018

Copy link
Copy Markdown
Member

If you want to do that and need guidance let me know.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ryzokuken

ryzokuken commented Mar 13, 2018

Copy link
Copy Markdown
Contributor Author

@lpinca thanks! I'll try it myself and bother you if I cannot manage to find a way to do it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ryzokuken
test: rename regression tests with descriptive file names
bc42761
Rename the tests appropriately alongside mentioning the subsystem
Also, make a few basic changes to make sure the tests conform
to the standard test structure

- Rename test-regress-nodejsGH-9819 to test-crypto-tostring-segfault
- Rename test-regress-nodejsGH-5051 to test-http-addrequest-localaddress
- Rename test-regress-nodejsGH-5727 to test-net-listen-invalid-port
- Rename test-regress-nodejsGH-5927 to test-tty-stdin-pipe
- Rename test-regress-nodejsGH-6235 to test-v8-global-setter

Refs: nodejs#19105
Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
@ryzokuken
ryzokuken force-pushed the test/rename-regression-2 branch from dff7294 to bc42761 Compare March 13, 2018 17:46
@ryzokuken

ryzokuken commented Mar 13, 2018

Copy link
Copy Markdown
Contributor Author

@lpinca I hope it's good enough?

Gosh, people have been doing this for me all this time?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lpinca

lpinca commented Mar 13, 2018

Copy link
Copy Markdown
Member

Looks great. Thank you.
Will land this after a final CI run.

CI: https://ci.nodejs.org/job/node-test-pull-request/13659/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lpinca

lpinca commented Mar 13, 2018

Copy link
Copy Markdown
Member

Landed in 90b0538.

ryzokuken reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

lpinca pushed a commit that referenced this pull request Mar 13, 2018
@ryzokuken @lpinca
test: use descriptive names for regression tests
90b0538
Rename the tests appropriately alongside mentioning the subsystem.
Also, make a few basic changes to make sure the tests conform to the
standard test structure.

- Rename test-regress-GH-9819 to test-crypto-tostring-segfault
- Rename test-regress-GH-5051 to test-http-addrequest-localaddress
- Rename test-regress-GH-5727 to test-net-listen-invalid-port
- Rename test-regress-GH-5927 to test-tty-stdin-pipe
- Rename test-regress-GH-6235 to test-v8-global-setter

PR-URL: #19275
Refs: #19105
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@lpinca lpinca closed this Mar 13, 2018
targos pushed a commit that referenced this pull request Mar 17, 2018
@ryzokuken @targos
test: delete test/parallel/test-regress-GH-4948
9a08f12
PR-URL: #19279
Refs: #19275 (comment)
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 20, 2018
@ryzokuken @MylesBorins
test: delete test/parallel/test-regress-GH-4948
11a0ef5
PR-URL: #19279
Refs: #19275 (comment)
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 20, 2018
@ryzokuken @MylesBorins
test: use descriptive names for regression tests
8e07e51
Rename the tests appropriately alongside mentioning the subsystem.
Also, make a few basic changes to make sure the tests conform to the
standard test structure.

- Rename test-regress-GH-9819 to test-crypto-tostring-segfault
- Rename test-regress-GH-5051 to test-http-addrequest-localaddress
- Rename test-regress-GH-5727 to test-net-listen-invalid-port
- Rename test-regress-GH-5927 to test-tty-stdin-pipe
- Rename test-regress-GH-6235 to test-v8-global-setter

PR-URL: #19275
Refs: #19105
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 20, 2018
@ryzokuken @MylesBorins
test: use descriptive names for regression tests
f490421
Rename the tests appropriately alongside mentioning the subsystem.
Also, make a few basic changes to make sure the tests conform to the
standard test structure.

- Rename test-regress-GH-9819 to test-crypto-tostring-segfault
- Rename test-regress-GH-5051 to test-http-addrequest-localaddress
- Rename test-regress-GH-5727 to test-net-listen-invalid-port
- Rename test-regress-GH-5927 to test-tty-stdin-pipe
- Rename test-regress-GH-6235 to test-v8-global-setter

PR-URL: #19275
Refs: #19105
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@targos targos mentioned this pull request Mar 20, 2018
v9.9.0 proposal #19428
Merged
@Trott Trott mentioned this pull request Apr 30, 2018
doc: remove squash guideline from onboarding doc #20413
Closed
2 tasks done
MayaLekova pushed a commit to MayaLekova/node that referenced this pull request May 8, 2018
@ryzokuken @MayaLekova
test: delete test/parallel/test-regress-GH-4948
bd5de01
PR-URL: nodejs#19279
Refs: nodejs#19275 (comment)
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MayaLekova pushed a commit to MayaLekova/node that referenced this pull request May 8, 2018
@ryzokuken @MayaLekova
test: use descriptive names for regression tests
eb94cdd
Rename the tests appropriately alongside mentioning the subsystem.
Also, make a few basic changes to make sure the tests conform to the
standard test structure.

- Rename test-regress-nodejsGH-9819 to test-crypto-tostring-segfault
- Rename test-regress-nodejsGH-5051 to test-http-addrequest-localaddress
- Rename test-regress-nodejsGH-5727 to test-net-listen-invalid-port
- Rename test-regress-nodejsGH-5927 to test-tty-stdin-pipe
- Rename test-regress-nodejsGH-6235 to test-v8-global-setter

PR-URL: nodejs#19275
Refs: nodejs#19105
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
BethGriggs pushed a commit that referenced this pull request Oct 16, 2018
@ryzokuken @BethGriggs
test: delete test/parallel/test-regress-GH-4948
fe3836a
Refs: #19275 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes
@lpinca lpinca lpinca approved these changes
@BridgeAR BridgeAR BridgeAR approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@ryzokuken @BridgeAR @lpinca @jasnell @nodejs-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.