]
Pedro Ruivo updated ISPN-6102:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Include the test name in the test thread names
----------------------------------------------
Key: ISPN-6102
URL:
https://issues.jboss.org/browse/ISPN-6102
Project: Infinispan
Issue Type: Task
Components: Test Suite - Core
Affects Versions: 8.1.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 8.2.0.Beta1
Some random failures are much easier to reproduce when running the entire core test
suite, which runs 15 tests in paralle, than when running a single test by itself. In such
cases, it helps if we can filter the log messages that belong to the failing test, and the
easiest way to do that is to include the test name in the thread name.
Essentially, this means replacing {{ExecutorService}} instances with
{{AbstractInfinispanTest.fork()}}, and where not possible instantiating the executor with
{{AbstractInfinispanTest.getTestThreadFactory()}}.