On Oct 15, 2010, at 12:04 PM, dsh wrote:
> on my MacBook Pro I am only getting one test failure which is:
>
> -------------------------------------------------------------------------------
> Test set: org.apache.openejb.core.stateless.StatelessPoolStatsTest
> -------------------------------------------------------------------------------
> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.882
> sec <<< FAILURE!
> testBasic(org.apache.openejb.core.stateless.StatelessPoolStatsTest)
> Time elapsed: 0.664 sec <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<{InstancesActive=0,
> GarbageCollection=true, PoolVersion=0, StrictPooling=true, MaxSize=15,
> Aged=0, InstancesInitializing=0, IdleTimeouts=0, Sweeps=1,
> Overdrafts=0, Flushed=0, ReplaceFlushed=false, Replaced=0,
> GarbageCollected=0, MaxAge=0, MinimumInstances=3, Flushes=0,
> SweepInterval=300000, InstancesPooled=3, AvailablePermits=15,
> ReplaceAged=true, InstancesIdle=3, IdleTimeout=0, MaxAgeOffset=-1.0,
> AccessTimeouts=0, MinSize=3}> but was:<{InstancesActive=0,
> GarbageCollection=false, PoolVersion=0, StrictPooling=true,
> MaxSize=15, Aged=0, InstancesInitializing=0, IdleTimeouts=0, Sweeps=1,
> Overdrafts=0, Flushed=0, ReplaceFlushed=false, Replaced=0,
> GarbageCollected=0, MaxAge=0, MinimumInstances=3, Flushes=0,
> SweepInterval=300000, InstancesPooled=3, AvailablePermits=15,
> ReplaceAged=true, InstancesIdle=3, IdleTimeout=0, MaxAgeOffset=-1.0,
> AccessTimeouts=0, MinSize=3}>
I fixed this test. Had changed a default (GarbageCollection=false) and forgot
to update this test. When it failed I assumed it was the sweeps test which
fails for timing issues unrelated to the actual functionality.
I also added a little dos2unix style fix for the mismatched line endings in the
OpenEjb2ConversionTest
And finally, I think I squished our testSweeps test once and for all.
Doing another rat scan to on the safe side, then will reroll.
-David