java.lang.AssertionError: Expected: a collection with size <5> but: collection size was <3>

Sonatype JIRA | Marvin Herman Froeder | 5 years ago
  1. 0

    Build fails during :sagan-site:integTest

    GitHub | 2 years ago | as1s
    java.lang.AssertionError: Expected: "Spring Tool Suiteâ„¢ Downloads" but: was "Spring Tool Suite™ Downloads"
  2. 0

    RiverMongoInitialTimestampTest fails in isolation

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

    Automated exception search integrated into your IDE

  4. 0

    installing allure jenkins plugin (v2.1) fails on latest jenkins build 1.576

    GitHub | 2 years ago | psura
    java.lang.AssertionError: Expected: is <2> but: was <1>
  5. 0

    RtRepoITCase.iteratesEvents() fails if no events exist

    GitHub | 3 years ago | longtimeago
    java.lang.AssertionError: Expected: not an empty iterable but: was <https://api.github.com/repos/longtimeago/test_repo/issues/events>

  1. davidvanlaatum 7 times, last 3 weeks ago
  2. cesarnog 1 times, last 2 months ago
  3. tfr 1 times, last 3 months ago
  4. qoomon 1 times, last 4 months ago
  5. andyglick 5 times, last 8 months ago
3 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: a collection with size <5> but: collection size was <3>

    at org.hamcrest.MatcherAssert.assertThat()
  2. Hamcrest
    MatcherAssert.assertThat
    1. org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    2. org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    2 frames
  3. org.sonatype.nexus
    Nexus4674UpdateGAVIndexIT.searchTest
    1. org.sonatype.nexus.integrationtests.nexus4674.Nexus4674UpdateGAVIndexIT.searchTest(Nexus4674UpdateGAVIndexIT.java:50)
    1 frame