Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add onerror test cases to policy #35797

Closed
wants to merge 1 commit into from

Conversation

watilde
Copy link
Member

@watilde watilde commented Oct 25, 2020

Increase test coverage of lib/internal/policy/manifest.js

Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L60
Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L146

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

@watilde watilde added the test Issues and PRs related to the tests. label Oct 25, 2020
@watilde watilde force-pushed the test-policy-onerror branch from 878cfeb to ab64c67 Compare October 25, 2020 14:15
@watilde watilde changed the title test: add onerror test acses to policy test: add onerror test cases to policy Oct 25, 2020
@watilde watilde force-pushed the test-policy-onerror branch from ab64c67 to 262a4c8 Compare October 25, 2020 14:24
@bcoe
Copy link
Contributor

bcoe commented Oct 25, 2020

@watilde are you able to follow these updated instructions, to check coverage locally?

@codecov-io

This comment has been minimized.

@bcoe
Copy link
Contributor

bcoe commented Oct 25, 2020

@watilde I can see your change here, and it successfully increases coverage on the file (see: here).

@bcoe bcoe mentioned this pull request Oct 25, 2020
4 tasks
Increase test coverage of lib/internal/policy/manifest.js
@watilde watilde force-pushed the test-policy-onerror branch from 262a4c8 to e63d487 Compare October 25, 2020 16:15
@watilde
Copy link
Member Author

watilde commented Oct 25, 2020

@bcoe That doc is v good to know! I ran in my local now and could confirm the coverage was increased as expected with my last pushed commit:
coverage1
Coverage

@watilde watilde added request-ci Add this label to start a Jenkins CI on a PR. policy Issues and PRs related to the policy subsystem. labels Oct 26, 2020
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 26, 2020
@nodejs-github-bot

This comment has been minimized.

@watilde watilde added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Oct 26, 2020
@nodejs-github-bot
Copy link
Collaborator

@watilde watilde added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 29, 2020
@github-actions github-actions bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Oct 29, 2020
@github-actions
Copy link
Contributor

Commit Queue failed
- Loading data for nodejs/node/pull/35797
✔  Done loading data for nodejs/node/pull/35797
----------------------------------- PR info ------------------------------------
Title      test: add onerror test cases to policy (#35797)
Author     Daijiro Wachi  (@watilde)
Branch     watilde:test-policy-onerror -> nodejs:master
Labels     author ready, policy, test
Commits    1
 - test: add onerror test cases to policy
Committers 1
 - Daijiro Wachi 
PR-URL: https://github.com/nodejs/node/pull/35797
Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L60
Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L146
Reviewed-By: Ben Coe 
Reviewed-By: James M Snell 
Reviewed-By: Rich Trott 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/35797
Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L60
Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L146
Reviewed-By: Ben Coe 
Reviewed-By: James M Snell 
Reviewed-By: Rich Trott 
--------------------------------------------------------------------------------
   ✔  Last GitHub Actions successful
   ℹ  Last Full PR CI on 2020-10-27T14:36:48Z: https://ci.nodejs.org/job/node-test-pull-request/33886/
- Querying data for job/node-test-pull-request/33886/
✔  Build data downloaded
- Querying failures of job/node-test-commit/41685/
✔  Data downloaded
   ✖  3 failure(s) on the last Jenkins CI run
   ℹ  This PR was created on Sun, 25 Oct 2020 14:14:02 GMT
   ✔  Approvals: 3
   ✔  - Ben Coe (@bcoe): https://github.com/nodejs/node/pull/35797#pullrequestreview-516404681
   ✔  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/35797#pullrequestreview-516924772
   ✔  - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/35797#pullrequestreview-518679268
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu

Commit Queue action: https://github.com/nodejs/node/actions/runs/334784370

@watilde watilde added request-ci Add this label to start a Jenkins CI on a PR. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Oct 29, 2020
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 29, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Collaborator

watilde added a commit that referenced this pull request Oct 29, 2020
@watilde
Copy link
Member Author

watilde commented Oct 29, 2020

Landed in 802c98d

@watilde watilde closed this Oct 29, 2020
@watilde watilde deleted the test-policy-onerror branch October 29, 2020 15:01
targos pushed a commit that referenced this pull request Nov 3, 2020
@targos targos mentioned this pull request Nov 3, 2020
BethGriggs pushed a commit that referenced this pull request Dec 8, 2020
BethGriggs pushed a commit that referenced this pull request Dec 10, 2020
@BethGriggs BethGriggs mentioned this pull request Dec 10, 2020
BethGriggs pushed a commit that referenced this pull request Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. policy Issues and PRs related to the policy subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants