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: check error type in net.Server.listen() callback and avoid setTimeout() in test by Trott · Pull Request #1821 · nodejs/node

Conversation

@Trott

@Trott Trott commented May 28, 2015

Copy link
Copy Markdown
Member

This implements a task from a TODO comment.

ref: #264

Sorry, something went wrong.

Uh oh!

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

All reactions
@mscdex mscdex added the test Issues and PRs related to Node.js core tests and test infrastructure. label May 28, 2015
brendanashworth
brendanashworth reviewed May 30, 2015
View reviewed changes
Comment thread test/parallel/test-net-server-try-ports.js Outdated

@brendanashworth brendanashworth May 30, 2015

Copy link
Copy Markdown
Contributor

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.

could you please remove this whitespace change?

Sorry, something went wrong.

Uh oh!

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

All reactions
@brendanashworth

brendanashworth commented May 30, 2015

Copy link
Copy Markdown
Contributor

Besides the little whitespace nitpicks, this LGTM. Thanks for the PR 😄 it reduces runtime of this test by about a tenth of a second, too.

All reactions

Sorry, something went wrong.

Uh oh!

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

@bnoordhuis

bnoordhuis commented May 30, 2015

Copy link
Copy Markdown
Member

Not a review but can you reword the commit log so it conforms to the guidelines from CONTRIBUTING.md?

All reactions

Sorry, something went wrong.

Uh oh!

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

@Trott
Trott force-pushed the eaddrinuse branch from c632584 to ca60bd7 Compare May 30, 2015 15:14
@Trott
test: check error type from net.Server.listen()
452056a
This change eliminates an unnecessary setTimeout() in the test.
@Trott
Trott force-pushed the eaddrinuse branch from ca60bd7 to 452056a Compare May 30, 2015 15:22
@Trott

Trott commented May 30, 2015

Copy link
Copy Markdown
Member Author

Pushed a new version of the commit that fixes the whitespace goofs identified by @brendanashworth and has a conforming commit message as pointed out by @bnoordhuis

All reactions

Sorry, something went wrong.

Uh oh!

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

bnoordhuis pushed a commit that referenced this pull request May 30, 2015
@Trott @bnoordhuis
test: check error type from net.Server.listen()
8059393
This change eliminates an unnecessary setTimeout() in the test.

PR-URL: #1821
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Brendan Ashworth <[email protected]>
@bnoordhuis

bnoordhuis commented May 30, 2015

Copy link
Copy Markdown
Member

Thanks Rich, landed in 8059393.

All reactions

Sorry, something went wrong.

Uh oh!

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

@bnoordhuis bnoordhuis closed this May 30, 2015
@rvagg rvagg mentioned this pull request May 31, 2015
Release proposal: v2.2.0 #1808
Merged
andrewdeandrade pushed a commit to andrewdeandrade/node that referenced this pull request Jun 3, 2015
@Trott @andrewdeandrade
test: check error type from net.Server.listen()
c209968
This change eliminates an unnecessary setTimeout() in the test.

PR-URL: nodejs/node#1821
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Brendan Ashworth <[email protected]>
@Trott
Trott deleted the eaddrinuse branch October 14, 2021 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

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.

4 participants

@Trott @brendanashworth @bnoordhuis @mscdex
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.