Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable autoFlush for JUnit printstream so we get output as the tests run
Without autoFlush the buffer is never flushed and we get no output during the test run. Testing Done: Travis CI: https://travis-ci.org/pantsbuild/pants/builds/146186132 And installing the new junit-runner.jar and running java tests in the Pants repo. In regards to the speedup in https://rbcommons.com/s/twitter/r/4101/ The tests are not as fast with the autoFlush enabled but hopefully they are fast enough? ``` $ ./pants test.junit tests/java/org/pantsbuild/tools/junit/impl/:: ... 11:40:57 00:15 [run] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0 Auto-detected 8 processors, using -parallel-threads=8 ........................................................................................................................................................................................................................................................................................................................................................................................ Time: 148.382 OK (376 tests) ``` Bugs closed: 3698 Reviewed at https://rbcommons.com/s/twitter/r/4102/
- Loading branch information