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#1487cbeust merged 1 commit into
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. |
|
@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: