-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Short methods are overlapped with strange "debug info" #81
Comments
@JoseLion I can prepare a commit if you agree to overlap the end of output with extra whitespaces up to 80 columns (standard terminal width). Just let me know wdyt :) |
@wyhasany sorry it took so long for me to answer, but I've been giving this a thought too. I've seen this could happen when something writes to "standard output" or "standard error", so it will also depend on the configuration of the I have pushed a fix so the plugin applies some default logging options to avoid some of this issue, can you give the latest version a try? However, That being said, it looks like in your case the test runner itself is printing either to the |
Hmm... It looks pretty the same with newest version:
It looks like the bar with progression left some
It seems that rich console somehow interact with logging. |
Here you can find example project recreating this issue: |
Here you can find related docs, but I don't see anything helpful: |
@wyhasany yes, it seems like this is more related to the console output rather than the plugin's logging. I guess that's why it works correctly with In any case, I'll give the project you shared a try and get back to you. Maybe I find something there. 🙂 PS: Thanks for the PR for Kotlin interop 🎉 |
@wyhasany I tried the example you shared with me, and I think I found the issue. It seems you are using a IMO, this should not be an issue when running real tests. Even if a test is really expensive and takes an age to complete, it's not considered idle time since the thread is actually busy. 🙂 Let me know if this makes sense to you, or if you think this could still be an issue. I'm not sure if there's anything we can do from our side, but probably we can ask in https://discuss.gradle.org/ 😁 |
Hi! Thanks you a lot for your investigation. To be honest it's not an artificial issue as it looks like by my example 😅. Actually I see mixed logs in my integration tests. I think we can ask about it. |
I've started a new topic in https://discuss.gradle.org/ |
@wyhasany thanks for starting the topic! I've also seen this happening while running other kinds of tasks, so I'll be checking the thread too 🙂 |
The short logs are overlapped in following way:
it seems like
0% EXECUTING [16s]
comes from some other logger. You can override it adding additional white spaces up to 50th column. Then printed output would be clearer.The text was updated successfully, but these errors were encountered: