[infinispan-issues] [JBoss JIRA] (ISPN-4548) Revamp AbstractInfinispanTest thread handling to use pooling

William Burns (JIRA) issues at jboss.org
Mon Jul 21 10:17:30 EDT 2014


William Burns created ISPN-4548:
-----------------------------------

             Summary: Revamp AbstractInfinispanTest thread handling to use pooling
                 Key: ISPN-4548
                 URL: https://issues.jboss.org/browse/ISPN-4548
             Project: Infinispan
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: Test Suite - Core
    Affects Versions: 7.0.0.Alpha5
            Reporter: William Burns
            Assignee: Dan Berindei


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.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list