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

Revamp AbstractInfinispanTest thread handling to use pooling

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.0.0.Beta1
    • 7.0.0.Alpha5
    • Test Suite
    • None

    Description

      Our base AbstractInfinispanTest class forks a new thread every time fork is called. It would provide better performance and memory usage if instead we used a pool for threads spawned in this way in the same the test.

      Also we have support for running tests concurrently which currently don't work properly due to the usage of CountDownLatch which isn't quite sufficient for what it was trying to achieve. The usage of a CyclicBarrier would be more appropriate.

      Attachments

        Activity

          People

            wburns@redhat.com Will Burns
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: