java.lang.AssertionError: expected:<3> but was:<2>

GitHub | ejona86 | 9 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 1852#231605322

    GitHub | 9 months ago | ejona86
    java.lang.AssertionError: expected:<3> but was:<2>
  2. 0

    GitHub comment 1852#221410835

    GitHub | 11 months ago | ejona86
    java.lang.AssertionError: expected:<3> but was:<0>
  3. 0

    CascadingTest.testCascadingCancellationViaMethodTimeout is flaky

    GitHub | 11 months ago | ejona86
    java.lang.AssertionError: expected:<3> but was:<0>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1852#225629191

    GitHub | 10 months ago | ejona86
    java.lang.AssertionError: expected:<3> but was:<0>
  6. 0

    GitHub comment 1852#225629475

    GitHub | 10 months ago | ejona86
    java.lang.AssertionError: expected:<3> but was:<0>

  1. Victor_IT 1 times, last 1 day 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:<3> but was:<2>

    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. io.grpc.testing
    CascadingTest.testCascadingCancellationViaMethodTimeout
    1. io.grpc.testing.integration.CascadingTest.testCascadingCancellationViaMethodTimeout(CascadingTest.java:161)
    1 frame