-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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
base: main
Are you sure you want to change the base?
Conversation
Assert.ok takes a message parameter, that's probably cleaner |
Codecov ReportAll modified and coverable lines are covered by tests ✅
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 |
Thanks. Looks good now. |
@@ -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 |
There was a problem hiding this comment.
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.
Add logs for fixing the 55431 flaky test.