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

Include the test name in the test thread names

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 8.2.0.Beta1
    • 8.1.0.Final
    • Test Suite
    • None

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

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: