-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Make listTests always print to console.log #4391
Conversation
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.
Thanks!
seems like one of the tests is failing because console.log
adds the \n
the end. I don't think it's a big deal and we can keep it there.
You do need to update the snapshot though :)
Updated 😄 I wanted to see the results from CI because I'm on Windows at the moment and some tests are unstable for me. |
The test passes on my WIndows machine... Will try again on my mac but only have access to it tomorrow! |
Seems like the test is failing on AppVeyor. |
Yeah - I noticed the same on my Windows pc at home. The test output is different on Win/Mac. I'll investigate further when I have both machines available at the same time 😄 But it seems like for Windows there's an additional |
Sorry for the additional commits, but it was the fastest way for me to test between Mac/Windows. If you want me to squash them, let me know. I eventually ended up finding a way that the test passes on both machines, though I do not understand how it worked before. The issue (I think) is that in the test files we were splitting and joining with AppVeyor now started failing on some other tests - but that seems not to be related to my changes? Is it possible to restart? |
Thank you. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Always print the output of the
--listTests
option to console.log, even when using--json
flag (which is otherwise redirected to stderr) or the--stdErr
flag.See issue: #4388
Test plan
Updated the existing test