Skip to content

test: add onerror test cases to policy - #35797

Closed
watilde wants to merge 1 commit into
nodejs:masterfrom
watilde:test-policy-onerror
Closed

test: add onerror test cases to policy#35797
watilde wants to merge 1 commit into
nodejs:masterfrom
watilde:test-policy-onerror

Conversation

@watilde

@watildewatilde commented Oct 25, 2020

Copy link
Copy Markdown
Member

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

@watildewatilde added the test Issues and PRs related to the tests. label Oct 25, 2020
@watildewatilde changed the title test: add onerror test acses to policytest: add onerror test cases to policyOct 25, 2020
@bcoe

bcoe commented Oct 25, 2020

Copy link
Copy Markdown
Contributor

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

@codecov-io

This comment has been minimized.

@bcoe

bcoe commented Oct 25, 2020

Copy link
Copy Markdown
Contributor

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

@bcoebcoe mentioned this pull request Oct 25, 2020
4 tasks
Increase test coverage of lib/internal/policy/manifest.js
@watilde

watilde commented Oct 25, 2020

Copy link
Copy Markdown
MemberAuthor

@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

@watildewatilde 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-actionsgithub-actionsBot 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.

@watildewatilde 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
Copy Markdown
Collaborator

@watildewatilde added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 29, 2020
@github-actionsgithub-actionsBot 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
Copy Markdown
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

@watildewatilde 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-actionsgithub-actionsBot 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
Copy Markdown
Collaborator

watilde added a commit that referenced this pull request Oct 29, 2020
Increase test coverage of lib/internal/policy/manifest.js
PR-URL: #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 <bencoe@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@watilde

Copy link
Copy Markdown
MemberAuthor

Landed in 802c98d

@watildewatilde 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
Increase test coverage of lib/internal/policy/manifest.js
PR-URL: #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 <bencoe@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@targostargos mentioned this pull request Nov 3, 2020
BethGriggs pushed a commit that referenced this pull request Dec 8, 2020
Increase test coverage of lib/internal/policy/manifest.js
PR-URL: #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 <bencoe@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
BethGriggs pushed a commit that referenced this pull request Dec 10, 2020
Increase test coverage of lib/internal/policy/manifest.js
PR-URL: #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 <bencoe@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@BethGriggsBethGriggs mentioned this pull request Dec 10, 2020
BethGriggs pushed a commit that referenced this pull request Dec 15, 2020
Increase test coverage of lib/internal/policy/manifest.js
PR-URL: #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 <bencoe@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.policyIssues and PRs related to the policy subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@watilde@bcoe@codecov-io@nodejs-github-bot@jasnell@Trott