-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Added logging, comments and improved error messaging + fixed bug in parallelization test suite #1487
Added logging, comments and improved error messaging + fixed bug in parallelization test suite #1487
Conversation
…rallelizations is done for methods expected to be executing simultaneously in different threads. Adding logging to help diagnose interimittent failures on TeamCity. Make the execution state tracker final and changed the reset method to remove logs rather than reassign the variable with a new list. Fixed a bug in the calculation of the expected size of the last block of methods to execute in parallel when processing event logs for test methods which do not use data providers without factories.
One of the test runs stalled out, but in some other test suite, so it seems unrelated to the parallelization test suite. I can't seem to find a re-run button, so had to close and reopen the pull request to force a rebuild to occur. |
The second run had another failure, but it's one I have seen intermittently before -- the concurrent modification test. BTW, this test is failing on my local env: Gradle Test Executor 2 STANDARD_OUT |
I have been searching for hours for information about how to get gradle to display logging statements sent to the console from java.util.logging. Does anyone know how to do that? I really don't want to write a bunch of System.out.println statements replace the user of a real logger. |
@selenareneephillips - Can you please check if this helps ? |
@krmahadevan I tried out those suggestions -- find the parent ConsoleHandler, using a customer logging.properties file, etc. Still, when I run 'gradle test' I still see no output from my loggers. When I run the tests in IntelliJ, I get output from my loggers. Running the command line, I get nothing from them. |
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 @cbeust
@selenareneephillips Only the committers of the repository are able to rerun build.
About the gradle/travisci issue, I agree and it is a real pain when a test is failing. I am opening an issue because we should improve it |
Changes: