Skip to content

add verbose to identify the flaky cases #55481

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

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

Conversation

MrJithil
Copy link
Member

@MrJithil MrJithil commented Oct 21, 2024

Add logs for fixing the 55431 flaky test.

@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 Oct 21, 2024
@avivkeller
Copy link
Member

Assert.ok takes a message parameter, that's probably cleaner

Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.42%. Comparing base (ee46d22) to head (4e14713).
Report is 422 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #55481      +/-   ##
==========================================
+ Coverage   88.41%   88.42%   +0.01%     
==========================================
  Files         653      653              
  Lines      187415   187421       +6     
  Branches    36074    36066       -8     
==========================================
+ Hits       165698   165731      +33     
+ Misses      14965    14943      -22     
+ Partials     6752     6747       -5     

see 38 files with indirect coverage changes

@MrJithil
Copy link
Member Author

Assert.ok takes a message parameter, that's probably cleaner

Thanks. Looks good now.

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

@@ -10,7 +10,9 @@ const ALLOWED_MARGIN = 10;
const expected = ['Start to Now', 'A to Now', 'A to B'];
const obs = new PerformanceObserver(common.mustCall((items) => {
items.getEntries().forEach(({ name, duration }) => {
assert.ok(duration > (DELAY - ALLOWED_MARGIN));
// TODO(mrjithil) remove after 55431 fixed
Copy link
Member

Choose a reason for hiding this comment

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

Nit: it would be more helpful for the 55431 to provide a complete URL. It would also be helpful to expand a bit with a quick summary of what that issue is.

@MrJithil MrJithil added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 21, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 21, 2024
@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.

5 participants