[infinispan-dev] some TLC for the test suite

Galder Zamarreño galder at redhat.com
Tue Apr 10 07:15:29 EDT 2012


Great stuff! 

On Apr 3, 2012, at 9:02 PM, Manik Surtani wrote:

> Sweet. Good job, all!
> 
> Sent via the InterWebs
> 
> On 3 Apr 2012, at 16:22, Mircea Markus <mircea.markus at jboss.com> wrote:
> 
>> 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
>> 
>> 
>> 
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the infinispan-dev mailing list