java.lang.AssertionError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check your pattern declaration or check your assert declaration.


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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
    via by Yinlin Chen,
  • Double in place of Float and Float rounding
    via Stack Overflow by jakstack
    ,
  • GitHub comment 20#46571976
    via GitHub by andresaraujo
    ,
  • GitHub comment 2249#184874384
    via GitHub by drcrallen
    ,
  • Add support for musl libc
    via GitHub by jirutka
    ,
    • 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)

    Users with the same issue

    AxeloAxelo
    6 times, last one,
    rsprangemeijerrsprangemeijer
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    jf-astjf-ast
    1 times, last one,
    marcbouvierdavmarcbouvierdav
    9 times, last one,
    95 more bugmates