java.lang.AssertionError: expected:<60628> but was:<54508>

GitHub | christhalinger | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 206#246432905

    GitHub | 7 months ago | christhalinger
    java.lang.AssertionError: expected:<60628> but was:<54508>
  2. 0

    [TEST-FAILURE] MapLoaderMultiNodeTest.testLoadAgain_whenLoadedAllCalledMultipleTimes

    GitHub | 2 years ago | bilalyasar
    java.lang.AssertionError: expected:<2> but was:<3>
  3. 0

    Assertion failure for calculating hour difference

    Stack Overflow | 2 years ago
    java.lang.AssertionError: expected:<500> but was:<514>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 6007#134166006

    GitHub | 2 years ago | hasancelik
    java.lang.AssertionError: expected:<500> but was:<4156>
  6. 0

    Tests failing on Windows

    GitHub | 2 years ago | freddy24
    java.lang.AssertionError: expected:<0> but was:<3600000>

  1. Victor_IT 1 times, last 2 days ago
  2. jf-ast 2 times, last 4 days ago
  3. odd 3 times, last 5 days ago
  4. Dunmer 74 times, last 2 weeks ago
  5. Brian Oxley 47 times, last 2 weeks ago
13 more registered users
33 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

    expected:<60628> but was:<54508>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:834)
    3. org.junit.Assert.assertEquals(Assert.java:645)
    4. org.junit.Assert.assertEquals(Assert.java:631)
    4 frames
  3. Netty
    AbstractByteBufTest.testSequentialUnsignedShortAccess
    1. io.netty.buffer.AbstractByteBufTest.testSequentialUnsignedShortAccess(AbstractByteBufTest.java:796)
    2. io.netty.buffer.AbstractByteBufTest.testSequentialUnsignedShortAccess(AbstractByteBufTest.java:765)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. JUnit
    JUnitCore.main
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    15. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    16. org.junit.runners.Suite.runChild(Suite.java:128)
    17. org.junit.runners.Suite.runChild(Suite.java:27)
    18. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    19. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    20. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    21. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    22. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    23. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    24. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    25. org.junit.runner.JUnitCore.run(JUnitCore.java:115)
    26. org.junit.runner.JUnitCore.runMain(JUnitCore.java:77)
    27. org.junit.runner.JUnitCore.main(JUnitCore.java:36)
    27 frames