[infinispan-dev] Using Dummy VS JBossTM for running tests

Mircea Markus mircea.markus at jboss.com
Mon Feb 28 12:24:34 EST 2011


On 28 Feb 2011, at 17:21, Manik Surtani wrote:
> 
> On 22 Feb 2011, at 16:37, Jonathan Halliday wrote:
> 
>> 
>> That's actually going to change your test semantics slightly. You may 
>> want to run in both optimized and non-optimized modes to ensure full 
>> coverage - some code paths may not get exercised in one or the other case.
> 
> Right; we actually DO want to test a full 2PC cycle.  So we should disable any such optimisations.
Both scenarios are equally important iMO, as I'd expect TM to use this optimisation. 
ISPN-957 makes local suite run with the optimisation (also means it runs faster) and the hudson suite run with full 2PC. Best of both worlds :)


More information about the infinispan-dev mailing list