Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6102

Include the test name in the test thread names

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 8.1.0.Final
    • Fix Version/s: 8.2.0.Beta1
    • Component/s: Test Suite
    • Labels:
      None

      Description

      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().

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dan.berindei Dan Berindei
                Reporter:
                dan.berindei Dan Berindei
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: