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: refactor large event emitter tests by cjihrig · Pull Request #6446 · nodejs/node

Conversation

@cjihrig

@cjihrig cjihrig commented Apr 28, 2016

Copy link
Copy Markdown
Contributor
Checklist
  • tests and code linting passes
  • a test and/or benchmark is included
  • the commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change

This commit splits several large event emitter tests into smaller block scoped tests. This keeps the tests more isolated. This commit also replaces var with const, assert.equal() with assert.strictEqual(), and other small enhancements.

R= @Trott

Sorry, something went wrong.

Uh oh!

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

All reactions
@cjihrig cjihrig added the test Issues and PRs related to Node.js core tests and test infrastructure. label Apr 28, 2016
santigimeno
santigimeno reviewed Apr 28, 2016
View reviewed changes
Comment thread test/parallel/test-event-emitter-remove-listeners.js Outdated

@santigimeno santigimeno Apr 28, 2016

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.

Would it be worth to use arrow functions in the rest of the code?
The ,1 is redundant and could be removed while we're here.

Sorry, something went wrong.

Uh oh!

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

All reactions
@santigimeno

santigimeno commented Apr 28, 2016

Copy link
Copy Markdown
Member

LGTM. You can ignore the comments

All reactions

Sorry, something went wrong.

Uh oh!

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

@mscdex mscdex added the events Issues and PRs related to EventEmitter and the events module. label Apr 28, 2016
@jasnell

jasnell commented Apr 28, 2016

Copy link
Copy Markdown
Member

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

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

@jasnell jasnell added the lts-watch-v4.x label Apr 28, 2016
@Fishrock123

Fishrock123 commented Apr 28, 2016

Copy link
Copy Markdown
Contributor

CI, since apparently other people are perfectly comfortable signing off without it...

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

All reactions

Sorry, something went wrong.

Uh oh!

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

@cjihrig

cjihrig commented Apr 28, 2016

Copy link
Copy Markdown
Contributor Author

Flaky test-debug-port-from-cmdline.js timed out, and the OS X job didn't actually run.

All reactions

Sorry, something went wrong.

Uh oh!

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

@jasnell

jasnell commented Apr 28, 2016

Copy link
Copy Markdown
Member

New CI to see if we can get the OSX job through: https://ci.nodejs.org/job/node-test-pull-request/2417/

All reactions

Sorry, something went wrong.

Uh oh!

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

@cjihrig

cjihrig commented Apr 28, 2016

Copy link
Copy Markdown
Contributor Author

Looks like CI is at least partially hanging.

All reactions

Sorry, something went wrong.

Uh oh!

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

@addaleax

addaleax commented Apr 28, 2016

Copy link
Copy Markdown
Member

https://twitter.com/thealphanerd/status/725733454625673216 ? 😄

All reactions

Sorry, something went wrong.

Uh oh!

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

@cjihrig

cjihrig commented Apr 28, 2016

Copy link
Copy Markdown
Contributor Author

Heh. I guess that's that.

All reactions

Sorry, something went wrong.

Uh oh!

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

@MylesBorins

MylesBorins commented Apr 28, 2016

Copy link
Copy Markdown
Contributor

sorry about that 😄

All reactions

Sorry, something went wrong.

Uh oh!

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

@jasnell

jasnell commented Apr 29, 2016

Copy link
Copy Markdown
Member

CI is good.

All reactions

Sorry, something went wrong.

Uh oh!

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

@cjihrig
cjihrig force-pushed the test branch from e1c925a to 70af674 Compare May 2, 2016 14:34
@cjihrig
test: refactor large event emitter tests
1ab5b4e
This commit splits several large event emitter tests into smaller
block scoped tests. This keeps the tests more isolated. This
commit also replaces var with const, assert.equal() with
assert.stictEqual(), and other small enhancements.

PR-URL: nodejs#6446
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@cjihrig
cjihrig force-pushed the test branch from 70af674 to 1ab5b4e Compare May 2, 2016 14:36
@cjihrig
cjihrig merged commit 1ab5b4e into nodejs:master May 2, 2016
@cjihrig
cjihrig deleted the test branch May 2, 2016 14:40
Fishrock123 pushed a commit that referenced this pull request May 4, 2016
@cjihrig @Fishrock123
test: refactor large event emitter tests
7641f9a
This commit splits several large event emitter tests into smaller
block scoped tests. This keeps the tests more isolated. This
commit also replaces var with const, assert.equal() with
assert.stictEqual(), and other small enhancements.

PR-URL: #6446
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: James M Snell <[email protected]>
This was referenced May 4, 2016
Propose v6.1.0 wrong base please ignore #6556
Closed
Propose v6.1.0 (Openssl update) #6557
Merged
joelostrowski pushed a commit to joelostrowski/node that referenced this pull request May 4, 2016
@cjihrig @joelostrowski
test: refactor large event emitter tests
a3d50ef
This commit splits several large event emitter tests into smaller
block scoped tests. This keeps the tests more isolated. This
commit also replaces var with const, assert.equal() with
assert.stictEqual(), and other small enhancements.

PR-URL: nodejs#6446
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins

MylesBorins commented May 18, 2016

Copy link
Copy Markdown
Contributor

this will need to be manually backported

All reactions

Sorry, something went wrong.

Uh oh!

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

@MylesBorins

MylesBorins commented Jun 1, 2016

Copy link
Copy Markdown
Contributor

ping @cjihrig do you want to backport this to v4?

All reactions

Sorry, something went wrong.

Uh oh!

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

@cjihrig

cjihrig commented Jun 2, 2016

Copy link
Copy Markdown
Contributor Author

@thealphanerd sure. Let me know once #6394 has landed on v4.x-staging, as this builds on it.

All reactions

Sorry, something went wrong.

Uh oh!

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

@MylesBorins

MylesBorins commented Nov 18, 2016

Copy link
Copy Markdown
Contributor

@cjihrig #6394 landed! Would you be able to backport?

All reactions

Sorry, something went wrong.

Uh oh!

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

cjihrig added a commit to cjihrig/node that referenced this pull request Nov 23, 2016
@cjihrig
test: refactor large event emitter tests
a6f93cd
This commit splits several large event emitter tests into smaller
block scoped tests. This keeps the tests more isolated. This
commit also replaces var with const, assert.equal() with
assert.stictEqual(), and other small enhancements.

PR-URL: nodejs#6446
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@cjihrig cjihrig mentioned this pull request Nov 23, 2016
Backport: test: refactor large event emitter tests #9775
Closed
MylesBorins pushed a commit that referenced this pull request Dec 13, 2016
@cjihrig @MylesBorins
test: refactor large event emitter tests
76245b2
This commit splits several large event emitter tests into smaller
block scoped tests. This keeps the tests more isolated. This
commit also replaces var with const, assert.equal() with
assert.stictEqual(), and other small enhancements.

PR-URL: #6446
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
@cjihrig @MylesBorins
test: refactor large event emitter tests
aebbc96
This commit splits several large event emitter tests into smaller
block scoped tests. This keeps the tests more isolated. This
commit also replaces var with const, assert.equal() with
assert.stictEqual(), and other small enhancements.

PR-URL: #6446
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins MylesBorins added land-on-v4.x and removed lts-watch-v4.x labels Dec 21, 2016
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
@cjihrig @MylesBorins
test: refactor large event emitter tests
2bce891
This commit splits several large event emitter tests into smaller
block scoped tests. This keeps the tests more isolated. This
commit also replaces var with const, assert.equal() with
assert.stictEqual(), and other small enhancements.

PR-URL: #6446
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
@cjihrig @MylesBorins
test: refactor large event emitter tests
b612003
This commit splits several large event emitter tests into smaller
block scoped tests. This keeps the tests more isolated. This
commit also replaces var with const, assert.equal() with
assert.stictEqual(), and other small enhancements.

PR-URL: #6446
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Dec 21, 2016
V4.7.1 proposal #10395
Merged
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

events Issues and PRs related to EventEmitter and the events module. 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.

7 participants

@cjihrig @santigimeno @jasnell @Fishrock123 @addaleax @MylesBorins @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.