java.lang.AssertionError: Last-modified should be updated

Sakai JIRA | Yinlin Chen | 3 months ago
  1. 0

    1. Download source code from https://github.com/fcrepo4/fcrepo4/releases/tag/fcrepo-4.6.0 2. mvn clean install The build always failed: ------------------------------------------------------------------------------- Test set: org.fcrepo.integration.kernel.modeshape.FedoraBinaryImplIT ------------------------------------------------------------------------------- Tests run: 11, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec <<< FAILURE! - in org.fcrepo.integration.kernel.modeshape.FedoraBinaryImplIT testModifyDatastreamDescriptionLastMod(org.fcrepo.integration.kernel.modeshape.FedoraBinaryImplIT) Time elapsed: 0.031 sec <<< FAILURE! java.lang.AssertionError: Last-modified on the description should have changed. Actual: 1473868788152 at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failEquals(Assert.java:185) at org.junit.Assert.assertNotEquals(Assert.java:161) at org.junit.Assert.assertNotEquals(Assert.java:198) at org.fcrepo.integration.kernel.modeshape.FedoraBinaryImplIT.testModifyDatastreamDescriptionLastMod(FedoraBinaryImplIT.java:410) testModifyDatastreamContentDigestAndLength(org.fcrepo.integration.kernel.modeshape.FedoraBinaryImplIT) Time elapsed: 0.016 sec <<< FAILURE! java.lang.AssertionError: Last-modified should be updated at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.fcrepo.integration.kernel.modeshape.FedoraBinaryImplIT.testModifyDatastreamContentDigestAndLength(FedoraBinaryImplIT.java:218) see: https://groups.google.com/d/msg/fedora-tech/ovLjYu4ADsU/LCcgMYDbAwAJ

    Sakai JIRA | 3 months ago | Yinlin Chen
    java.lang.AssertionError: Last-modified should be updated
  2. 0

    RawQueryDefinitionTest Output without a match

    GitHub | 2 years ago | sammefford
    java.lang.AssertionError: Output without a match
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unit test BulkReadWriteTest failed in nightly regression

    GitHub | 2 years ago | sravanr
    java.lang.AssertionError: ResourceNotFoundException should have been thrown
  5. 0

    ConditionalDocumenTest facing different error message

    GitHub | 2 years ago | sammefford
    java.lang.AssertionError: Write with no version had misleading message

  1. michallos 34 times, last 7 days ago
  2. andyglick 2 times, last 3 months ago
  3. WoodenDoors 2 times, last 9 months ago
10 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    Last-modified should be updated

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertTrue
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.assertTrue(Assert.java:41)
    2 frames
  3. org.fcrepo.integration
    FedoraBinaryImplIT.testModifyDatastreamContentDigestAndLength
    1. org.fcrepo.integration.kernel.modeshape.FedoraBinaryImplIT.testModifyDatastreamContentDigestAndLength(FedoraBinaryImplIT.java:218)
    1 frame