• Bug
  • Status: Closed
  • 0 Showstopper
  • Resolution: Fixed
  • ehcache-core
  • amiller
  • Reporter:
  • September 29, 2009
  • 0
  • Watchers: 0
  • August 11, 2010
  • October 01, 2009

Attachments

Description


T E S T S ——————————————————- Running net.sf.ehcache.jcache.JCacheTest Tests run: 40, Failures: 11, Errors: 1, Skipped: 0, Time elapsed: 56.008 sec «< FAILURE! Running net.sf.ehcache.jcache.JCacheStatisticsTest Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.435 sec «< FAILURE! Running net.sf.ehcache.jcache.JCacheEntryTest Tests run: 11, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.646 sec «< FAILURE! Running net.sf.ehcache.jcache.CacheListenerTest Tests run: 10, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 3.017 sec «< FAILURE! Running net.sf.ehcache.jcache.JCacheFactoryTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.811 sec Running net.sf.ehcache.jcache.CacheManagerTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.444 sec

Results :

Failed tests:

Tests in error:

Tests run: 76, Failures: 17, Errors: 1, Skipped: 0

Comments

Alex Miller 2009-09-30

JCacheStatistics.testStatisticsFromStatisticsObject() - there was an error in the new stats stuff where the 2 miss values were not being coalesced for the JCache stats. I will submit that I’m about 75% sure I disagree with the assertion that was failing in the first place. If you ask the cache for a key and it misses in both the memorystore and the diskstore, that’s recorded as two (different kinds) of misses and the JCache version of the stats adds these values together. That seems weirdly wrong to me. But behavior is now consistent between releases at least.

Alex Miller 2009-09-30

JCacheListener.testExpiryNotifications() - test was too sensitive due to change from millis to second resolution

JCacheListener.testEvictionFromLRUMemoryStoreExpiry() - due to change in threshold and random eviction, this test assumption no longer holds. made all objects not serializable to always trigger expected behavior.

Alex Miller 2009-09-30

Fixed JCacheEntryTests - all timing related.

Geert Bevin 2009-10-01

All fixed