Skip to content

test: increase coverage for perf_hooks/Histogram#38555

Closed
Lxxyx wants to merge 1 commit into
nodejs:masterfrom
Lxxyx:increase-histogram-coverage
Closed

test: increase coverage for perf_hooks/Histogram#38555
Lxxyx wants to merge 1 commit into
nodejs:masterfrom
Lxxyx:increase-histogram-coverage

Conversation

@Lxxyx

@Lxxyx Lxxyx commented May 5, 2021

Copy link
Copy Markdown
Member

@github-actions github-actions Bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels May 5, 2021
@Lxxyx Lxxyx changed the title test: increase coverage for Histogram test: increase coverage for perf_hooks/Histogram May 5, 2021
@Lxxyx Lxxyx added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed needs-ci PRs that need a full CI run. labels May 5, 2021
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

nodejs-github-bot commented May 6, 2021

Copy link
Copy Markdown
Collaborator

@jasnell jasnell added the fast-track PRs that do not need to wait for 72 hours to land. label May 6, 2021
@github-actions

github-actions Bot commented May 6, 2021

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @jasnell. Please 👍 to approve.

@jasnell

jasnell commented May 7, 2021

Copy link
Copy Markdown
Member

Landed in 434b369

@jasnell jasnell closed this May 7, 2021
jasnell pushed a commit that referenced this pull request May 7, 2021
1. custom inspect test case
Refs: https://coverage.nodejs.org/coverage-18e4f405b14b26f9/lib/internal/histogram.js.html#L56

2. tests that RecordableHistogram is impossible to construct manually
Refs: https://coverage.nodejs.org/coverage-18e4f405b14b26f9/lib/internal/histogram.js.html#L132

PR-URL: #38555
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
@Lxxyx Lxxyx deleted the increase-histogram-coverage branch May 14, 2021 07:19
targos pushed a commit that referenced this pull request May 17, 2021
1. custom inspect test case
Refs: https://coverage.nodejs.org/coverage-18e4f405b14b26f9/lib/internal/histogram.js.html#L56

2. tests that RecordableHistogram is impossible to construct manually
Refs: https://coverage.nodejs.org/coverage-18e4f405b14b26f9/lib/internal/histogram.js.html#L132

PR-URL: #38555
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
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. fast-track PRs that do not need to wait for 72 hours to land. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants