Uploaded image for project: 'Spring Modules'
  1. Spring Modules
  2. MOD-305

fix ehcache tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9
    • Component/s: CACHE
    • Labels:
      None

      Description

      Currently some tests are failing due to a problem with easy cache; you can find the build results here:http://build.springframework.org:8085/browse/MOD-HEAD-27

      EhCacheFacadeTests (Show History) On get from cache when cache access throws cache exception MOD-HEAD-8 (Manual build, 2 days before)
      (Show History) On get from cache when cache access throws illegal state exception MOD-HEAD-8 (Manual build, 2 days before)
      (Show History) On put in cache when cache access throws illegal state exception MOD-HEAD-8 (Manual build, 2 days before)
      (Show History) On remove from cache when cache access throws illegal state exception MOD-HEAD-8 (Manual build, 2 days before)

      The exception for all of them is:
      java.lang.IllegalStateException: method call on the mock needed before setting Throwable
      at org.easymock.MockControl.setThrowable(MockControl.java:231)
      at org.easymock.MockControl.expectAndThrow(MockControl.java:1298)
      at org.springmodules.cache.provider.ehcache.EhCacheFacadeTests.testOnRemoveFromCacheWhenCacheAccessThrowsIllegalStateException(EhCacheFacadeTests.java:352)

      The tests have been disabled for now.

        Attachments

          Activity

            People

            Assignee:
            irbouho Omar Irbouh
            Reporter:
            costin Costin Leau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: