Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-110

Test failure packaging the 2.0-snapshot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • jcs-2.0-beta-1
    • jcs-2.0-beta-1
    • None
    • None

    Description

      Thomas,
      I have seen that you have done a lot to create a new version of JCS. Thank you for that effort. Today I have tried to package the snapshot version but I get one failure:

      Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.7 sec <<< FAILURE! - in org.apache.commons.jcs.auxiliary.disk.file.FileDiskCacheUnitTest
      testRemoveIfLimitIsSetAndReached_Reached_TouchTrue(org.apache.commons.jcs.auxiliary.disk.file.FileDiskCacheUnitTest) Time elapsed: 10.957 sec <<< FAILURE!
      junit.framework.AssertionFailedError: Should be null.
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at junit.framework.Assert.assertNull(Assert.java:233)
      at org.apache.commons.jcs.auxiliary.disk.file.FileDiskCacheUnitTest.testRemoveIfLimitIsSetAndReached_Reached_TouchTrue(FileDiskCacheUnitTest.java:340)

      This is my build-environment:
      Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
      Maven home: /home.local/java/apache-maven-3
      Java version: 1.6.0_39, vendor: Sun Microsystems Inc.
      Java home: /usr/java/jdk1.6.0_39/jre
      Default locale: de_DE, platform encoding: UTF-8
      OS name: "linux", version: "3.11.10-7-desktop", arch: "amd64", family: "unix"

      Attachments

        Activity

          People

            tv Thomas Vandahl
            jweberhofer Johannes Weberhofer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: