-
Notifications
You must be signed in to change notification settings - Fork 148
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
lib: fix bug with huge test output #619
Conversation
/CC @nodejs/citgm @addaleax PTAL. ATM jobs stall and don't even produce the report. |
c10da82
to
c1049b7
Compare
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
Shouldn't we display the last N lines of the output instead of the first? They're more likely to contain useful information about the error |
I think it's arbitrary. In the case of |
c1049b7
to
8ba579d
Compare
New code finished in reasonable time:
|
b6dbe14
to
84b5048
Compare
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
Ping @MylesBorins do you still want to review the new code? |
Add test(s)? |
|
84b5048
to
974b026
Compare
Codecov Report
@@ Coverage Diff @@
## master #619 +/- ##
=========================================
Coverage ? 93.97%
=========================================
Files ? 26
Lines ? 830
Branches ? 0
=========================================
Hits ? 780
Misses ? 50
Partials ? 0
Continue to review full report at Codecov.
|
CI is green but it doesn't run on Windows. I'll try to execute it on my computer today. Or maybe @richardlau if you have time? |
Or better: add a Windows machine to https://ci.nodejs.org/job/citgm-continuous-integration/ |
I'll try to find time to do this later today (I need a few hours sleep first). We could also try adding Windows to the Travis testing. |
There is a bug with spawning and PATH (fix in #640). With that PR included, this PR works on my local box. The CITGM tests are broken on Windows. With this PR we will be able to at least run them locally. Anyway - the CITGM is currently completely broken on Windows, this PR at least restores it to a working condition (and looks like nothing will get broken), I would be in favor of fast tracking this. |
Land away. I'm waiting for a train so can't do so right now. We can revisit
the logic here later if we want to simplify it
…On Tue, Dec 11, 2018, 9:49 AM Bartosz Sosnowski ***@***.*** wrote:
There is a bug with spawning and PATH (fix in #640
<#640>). With that PR included, this
PR works on my local box.
The CITGM tests are broken on Windows. With this PR we will be able to at
least run them locally. Anyway - the CITGM is currently completely broken
on Windows, this PR at least restores it to a working condition (and looks
like nothing will get broken), I would be in favor of fast tracking this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#619 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAecVwuJmriLhc0nwfq42dKrW9CGwN-Sks5u38XlgaJpZM4Yc93m>
.
|
I'm rebasing this |
On my local box, tests results:
|
On mine:
|
974b026
to
2f7aeb7
Compare
Rebased with 89c487a to fix the linter issue |
@bzoz LGTY? Can I land this as-is? |
Yes |
Fixes: #618
Checklist
npm test
passes