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: deflake test-watch-file-shared-dependency #56344

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lpinca
Copy link
Member

@lpinca lpinca commented Dec 23, 2024

Delay dependency file modification on macOS.

Refs: #51842

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Dec 23, 2024
@@ -49,6 +49,20 @@ describe('watch file with shared dependency', () => {
watcher.unfilterFilesOwnedBy([fixturePaths['test.js']]);
watcher.filterFile(fixturePaths['test.js']);
watcher.filterFile(fixturePaths['dependency.js'], fixturePaths['test.js']);
writeFileSync(fixturePaths['dependency.js'], 'module.exports = { modified: true };');

if (common.isMacOS) {
Copy link
Member Author

Choose a reason for hiding this comment

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

It seems to be flaky only on macOS.

Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.54%. Comparing base (48c75bc) to head (2fe6b2a).
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #56344   +/-   ##
=======================================
  Coverage   88.54%   88.54%           
=======================================
  Files         657      657           
  Lines      190395   190395           
  Branches    36552    36553    +1     
=======================================
+ Hits       168580   168587    +7     
+ Misses      14993    14990    -3     
+ Partials     6822     6818    -4     

see 24 files with indirect coverage changes

@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 23, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 23, 2024
@nodejs-github-bot
Copy link
Collaborator

@lpinca lpinca marked this pull request as draft December 23, 2024 17:39
@lpinca lpinca force-pushed the deflake/test-watch-file-shared-dependency branch from 7e3ba67 to 8eb0df9 Compare December 23, 2024 19:32
@lpinca lpinca marked this pull request as ready for review December 23, 2024 19:32
@lpinca lpinca force-pushed the deflake/test-watch-file-shared-dependency branch 2 times, most recently from 35a07c0 to 4b5f471 Compare December 23, 2024 19:59
@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 23, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 23, 2024
@nodejs-github-bot
Copy link
Collaborator

Delay dependency file modification on macOS.

Refs: nodejs#51842
@lpinca lpinca force-pushed the deflake/test-watch-file-shared-dependency branch from 4b5f471 to 2fe6b2a Compare December 23, 2024 20:09
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants