Skip to content

Conversation

@jakecastelli
Copy link
Member

We do have test coverage for this case, however, the test failed due to an incorrect file path, not due to the intended testTimeoutFailure. The key takeaway is that we should make the assertion more explicit to avoid such regression.

Fixes: #58802

@jakecastelli jakecastelli requested a review from pmarchini June 25, 2025 11:39
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/test_runner

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem. labels Jun 25, 2025
@codecov
Copy link

codecov bot commented Jun 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.99%. Comparing base (6ce6fdb) to head (7720b96).
⚠️ Report is 564 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #58831      +/-   ##
==========================================
- Coverage   90.10%   89.99%   -0.12%     
==========================================
  Files         640      640              
  Lines      188384   188369      -15     
  Branches    36937    36862      -75     
==========================================
- Hits       169743   169522     -221     
- Misses      11363    11529     +166     
- Partials     7278     7318      +40     
Files with missing lines Coverage Δ
lib/internal/test_runner/runner.js 92.68% <100.00%> (+0.03%) ⬆️

... and 40 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pmarchini
Copy link
Member

pmarchini commented Jun 25, 2025

The key takeaway is that we should make the assertion more explicit to avoid such regression.

@jakecastelli yes I agree.

There's a failure in the test(now two failures seem to be expected)

@jakecastelli
Copy link
Member Author

There's a failure in the test(now two failures seem to be expected)

Ah indeed - missed the other one!

@JakobJingleheimer JakobJingleheimer added commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. request-ci Add this label to start a Jenkins CI on a PR. labels Jun 26, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 26, 2025
@nodejs-github-bot
Copy link
Collaborator

@JakobJingleheimer JakobJingleheimer added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 26, 2025
@edsadr edsadr self-requested a review June 26, 2025 18:44
Copy link
Member

@edsadr edsadr left a comment

Choose a reason for hiding this comment

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

LGTM

@JakobJingleheimer JakobJingleheimer added the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 27, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 27, 2025
@nodejs-github-bot nodejs-github-bot merged commit 94f7568 into nodejs:main Jun 27, 2025
68 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 94f7568

targos pushed a commit that referenced this pull request Jul 3, 2025
PR-URL: #58831
Fixes: #58802
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Adrian Estrada <edsadr@gmail.com>
@richardlau richardlau added the backport-requested-v22.x PRs awaiting manual backport to the v22.x-staging branch. label Sep 19, 2025
@richardlau
Copy link
Member

This doesn't land cleanly on v22.x-staging so a manual backport will be necessary if this is to be released there.

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. backport-requested-v22.x PRs awaiting manual backport to the v22.x-staging branch. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

testrunner: run() ignores timeout option

6 participants