[infinispan-issues] [JBoss JIRA] (ISPN-6102) Include the test name in the test thread names

Dan Berindei (JIRA) issues at jboss.org
Tue Jan 26 09:08:01 EST 2016


Dan Berindei created ISPN-6102:
----------------------------------

             Summary: 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()}}.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list