[infinispan-dev] some TLC for the test suite

Mircea Markus mircea.markus at jboss.com
Tue Apr 3 11:22:23 EDT 2012


Hi,

Here's a set of things that were fixed around the test suite and which where checked in today:

1. Dan fixed a thread leak  caused by the KeyAffinityService
2. Some of the cache managers were not created through the TestCacheManagerFactory and were running over UDP.  Galder fixed that.
3. Other fine tunings for reducing the overall number of threads
    - min threads in the transport pool was reduce to 1 as most of the tests, by default, won't use 2 threads concurrently for the transport
    - for the TCP clusters, the send now happens in user's threads. This reduced  the number of threads with one thread/connection
   - 1 & 3 reduced the peak number of threads from 2k+ to 1.1k and the avg number of threads even more 
4. The duration of the core test suite dropped about 40%, mainly by fixing the CacheManagerNotifierTest which was taking about 4 mins to run. 
On my machine it used to take about 7:20 mins to run it, now it runs in 4:10 mins.

Cheers,
Mircea


 


More information about the infinispan-dev mailing list