java.lang.AssertionError: expected:<22> but was:<12>

GitHub | garyrussell | 1 year 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 1585#149355271

    GitHub | 1 year ago | garyrussell
    java.lang.AssertionError: expected:<22> but was:<12>
  2. 0

    SpdyConnectionTest.receiveGoAwayHttp2 is flaky

    GitHub | 3 years ago | swankjesse
    java.lang.AssertionError: expected:<1> but was:<0>
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    SpdyConnectionTest.pushPromiseStream test is flaky

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

    Unable to run tests on Ubuntu 12.04 LTS

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

  1. odd 1 times, last 4 days ago
  2. jf-ast 2 times, last 6 days ago
  3. rsprangemeijer 1 times, last 3 weeks ago
  4. aldrinleal 1 times, last 4 weeks ago
  5. treefolk 3 times, last 2 months ago
8 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:<22> but was:<12>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:743)
    3. org.junit.Assert.assertEquals(Assert.java:118)
    4. org.junit.Assert.assertEquals(Assert.java:555)
    5. org.junit.Assert.assertEquals(Assert.java:542)
    5 frames
  3. org.springframework.integration
    RedisChannelMessageStoreTests.testPriority
    1. org.springframework.integration.redis.store.RedisChannelMessageStoreTests.testPriority(RedisChannelMessageStoreTests.java:130)
    1 frame