-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
test: make sure current run result is pushed and reset #54332
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: make sure current run result is pushed and reset #54332
Conversation
|
Review requested:
|
59e3f97 to
60b8da8
Compare
60b8da8 to
73acd48
Compare
| if (common.isIBMi) | ||
| common.skip('IBMi does not support `fs.watch()`'); | ||
|
|
||
| if (common.isAIX) |
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.
I had a rough time with CI on AIX previously, I don't know if we should skip it entirely or just skip the test that has 100% failure rate due to the platform limitation (in this case the file deletion test)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #54332 +/- ##
==========================================
- Coverage 87.09% 87.08% -0.02%
==========================================
Files 647 647
Lines 181889 181930 +41
Branches 34884 34899 +15
==========================================
+ Hits 158420 158433 +13
- Misses 16773 16779 +6
- Partials 6696 6718 +22 |
cjihrig
left a comment
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.
LGTM if the CI passes.
mcollina
left a comment
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.
lgtm
|
Landed in c1ec099 |
PR-URL: #54332 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Because the
currentRunresult is only pushed intorunsafter the second test run finished, therefore all therunsarray's length is1(with 2 runs results concat into 1 big string). Added assertion to make surerunshave the correct length (number of runs).