Skip to content

test: better assertion for async hook tests - #27601

Closed
ofrobots wants to merge 1 commit into
nodejs:masterfrom
ofrobots:verify-graph
Closed

test: better assertion for async hook tests#27601
ofrobots wants to merge 1 commit into
nodejs:masterfrom
ofrobots:verify-graph

Conversation

@ofrobots

@ofrobots ofrobots commented May 7, 2019

Copy link
Copy Markdown
Contributor

The existing assertion was misleading to whether there were too few or
too many events of a particular type. Improve the assertion message.

Related: #27558

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

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot nodejs-github-bot added async_hooks Issues and PRs related to the async hooks subsystem. test Issues and PRs related to Node.js core tests and test infrastructure. labels May 7, 2019
Comment thread test/async-hooks/verify-graph.js Outdated
The existing assertion was misleading to whether there were too few or
too many events of a particular type. Improve the assertion message.

@BridgeAR BridgeAR 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.

This reminds me of working on #22695 again. That way this would not be necessary anymore.

@Trott Trott added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label May 10, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@antsmartian

Copy link
Copy Markdown
Contributor

Landed in a244b6f

antsmartian pushed a commit that referenced this pull request May 12, 2019
The existing assertion was misleading to whether there were too few or
too many events of a particular type. Improve the assertion message.

PR-URL: #27601
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
targos pushed a commit that referenced this pull request May 13, 2019
The existing assertion was misleading to whether there were too few or
too many events of a particular type. Improve the assertion message.

PR-URL: #27601
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@BridgeAR BridgeAR mentioned this pull request May 21, 2019
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

async_hooks Issues and PRs related to the async hooks subsystem. 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

Development

Successfully merging this pull request may close these issues.

9 participants