-
Notifications
You must be signed in to change notification settings - Fork 90
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
Loss of output when buffering is enabled #408
Comments
Previously, buffered logs would sometimes not get flushed resulting in lost test report output. See scalameta#408. This commit adds an extra attempt to flush the buffered logs inside the sbt testing framework in case the logs don't get flushed by the JUnit test listener. I'm not 100% sure this fixes the problem but it seems worth a short and it shouldn't cause a regression.
Thank you for reporting! I am able to reproduce the issue with a local clone of http4s at the commit http4s/http4s@35c0d48 I wasn't able to reproduce this inside the MUnit build but I took a blind stab at fixing this issue in #409. I'm unable to reproduce the issue in the http4s build after the fix so we can merge and release that commit |
I just cut a new 0.7.29 release that may take a few hours to become available on Maven Central |
0.7.29 is available now on Maven Central |
Thank you! It's working well for me. |
Great! Thank you for confirming |
I am inconsistently seeing successes, failures, and stack traces on CI under v0.7.28. Running a specific test locally, I can reliably see that the new output buffering is hiding success messages on a simple test.
buffering on: http4s/http4s@35c0d48:
buffering off: http4s/http4s@229e01e:
This is an enormous build. I can try to minimize it if the cause is not immediately obvious. I'm excited about the new feature, and loving the library in general!
The text was updated successfully, but these errors were encountered: