Skip to content

test: refactor exitedAfterDisconnect test - #16729

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

test: refactor exitedAfterDisconnect test#16729
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:refactor-cluster-test

Conversation

@Trott

@TrottTrott commented Nov 3, 2017

Copy link
Copy Markdown
Member
  • minor refactoring to conform with test-writing layout guidelines
  • rename test to use current terminology rather than deprecated
    terminology
  • assert.strictEqual() -> assert.ok()
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test cluster

@TrottTrott added cluster Issues and PRs related to the cluster subsystem. test Issues and PRs related to the tests. labels Nov 3, 2017

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isn't this changing the check from eventFired === false to, basically, !!eventFired?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Whoops, didn't commit all my changes...let's try again...

* minor refactoring to conform with test-writing layout guidelines
* rename test to use current terminology rather than deprecated
terminology
* assert.strictEqual() -> assert.ok()
@Trott
Trottforce-pushed the refactor-cluster-test branch from fcc9790 to dc4980bCompareNovember 3, 2017 21:29
@Trott

Trott commented Nov 3, 2017

Copy link
Copy Markdown
MemberAuthor

Trott added a commit to Trott/io.js that referenced this pull request Nov 5, 2017
* minor refactoring to conform with test-writing layout guidelines
* rename test to use current terminology rather than deprecated
terminology
* assert.strictEqual() -> assert.ok()
PR-URL: nodejs#16729
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@Trott

Trott commented Nov 5, 2017

Copy link
Copy Markdown
MemberAuthor

Landed in 3a4f0e9

@TrottTrott closed this Nov 5, 2017
cjihrig pushed a commit to cjihrig/node that referenced this pull request Nov 6, 2017
* minor refactoring to conform with test-writing layout guidelines
* rename test to use current terminology rather than deprecated
terminology
* assert.strictEqual() -> assert.ok()
PR-URL: nodejs#16729
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@cjihrigcjihrig mentioned this pull request Nov 6, 2017
MylesBorins pushed a commit that referenced this pull request Nov 14, 2017
* minor refactoring to conform with test-writing layout guidelines
* rename test to use current terminology rather than deprecated
terminology
* assert.strictEqual() -> assert.ok()
PR-URL: #16729
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@MylesBorinsMylesBorins mentioned this pull request Nov 21, 2017
MylesBorins pushed a commit that referenced this pull request Dec 19, 2017
* minor refactoring to conform with test-writing layout guidelines
* rename test to use current terminology rather than deprecated
terminology
* assert.strictEqual() -> assert.ok()
PR-URL: #16729
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@gibfahngibfahn mentioned this pull request Dec 20, 2017
gibfahn pushed a commit that referenced this pull request Dec 20, 2017
* minor refactoring to conform with test-writing layout guidelines
* rename test to use current terminology rather than deprecated
terminology
* assert.strictEqual() -> assert.ok()
PR-URL: #16729
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@gibfahngibfahn mentioned this pull request Dec 20, 2017
@Trott
Trott deleted the refactor-cluster-test branch January 13, 2022 22:47
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clusterIssues and PRs related to the cluster subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@Trott@eugeneo@lpinca@targos@cjihrig@gireeshpunathil@MylesBorins