java.lang.AssertionError: Property shouldHold falsified via shrinking. Shrink failure message: [ Expected: a value less than <1> but: <1> was equal to <1>] Shrunken args: [Foo[1]] Original failure message: [ Expected: a value less than <1> but: <186026947> was greater than <1>] Original args: [Foo[186026947]] Seeds: [-8662619978135167120]

GitHub | pholser | 4 months ago
  1. 0

    GitHub comment 124#241091673

    GitHub | 4 months ago | pholser
    java.lang.AssertionError: Property shouldHold falsified via shrinking. Shrink failure message: [ Expected: a value less than <1> but: <1> was equal to <1>] Shrunken args: [Foo[1]] Original failure message: [ Expected: a value less than <1> but: <186026947> was greater than <1>] Original args: [Foo[186026947]] Seeds: [-8662619978135167120]
  2. 0

    GitHub comment 99#219436996

    GitHub | 7 months ago | pholser
    java.lang.AssertionError: Property shouldHold falsified for args shrunken to [Foo[1]] using initial seeds [-6731889730898940719]
  3. 0

    GitHub comment 99#219473404

    GitHub | 7 months ago | pholser
    java.lang.AssertionError: Property shouldHold falsified. Original failure message: Expected: a value less than <1> but: <62877009> was greater than <1> Original args: [Foo[62877009]] Args shrunken to: [Foo[1]] Seeds: [-4327411864500874256]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 124#240192679

    GitHub | 4 months ago | pholser
    java.lang.AssertionError: Property shouldHold falsified. Original failure message: [ Expected: a value less than <1> but: <1353697724> was greater than <1>] Original args: [Foo[1353697724]] Shrink failure message: [ Expected: a value less than <1> but: <1> was equal to <1>] Args shrunken to: [Foo[1]] Seeds: [4258792209962850693]
  6. 0

    Windows build fails

    GitHub | 2 years ago | philwebb
    java.lang.AssertionError: Expected: "banner 1 10.2 2.0\n" but: was "banner 1 10.2 2.0\r\n"

  1. olle.hallin 1 times, last 1 week ago
  2. cesarnog 1 times, last 2 months ago
  3. qoomon 1 times, last 4 months ago
  4. tfr 1 times, last 5 months ago
  5. andyglick 5 times, last 8 months ago
1 more registered users
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

    Property shouldHold falsified via shrinking. Shrink failure message: [ Expected: a value less than <1> but: <1> was equal to <1>] Shrunken args: [Foo[1]] Original failure message: [ Expected: a value less than <1> but: <186026947> was greater than <1>] Original args: [Foo[186026947]] Seeds: [-8662619978135167120]

    at org.hamcrest.MatcherAssert.assertThat()
  2. Hamcrest
    MatcherAssert.assertThat
    1. org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    1 frame
  3. JUnit
    Assert.assertThat
    1. org.junit.Assert.assertThat(Assert.java:956)
    2. org.junit.Assert.assertThat(Assert.java:923)
    2 frames
  4. junit-quickcheck-core
    ShrinkingTest$ShrinkingCompletely.shouldHold
    1. com.pholser.junit.quickcheck.ShrinkingTest$ShrinkingCompletely.shouldHold(ShrinkingTest.java:56)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    3 frames
  6. JUnit
    FrameworkMethod.invokeExplosively
    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)
    3 frames
  7. com.pholser.junit
    PropertyStatement.evaluate
    1. com.pholser.junit.quickcheck.runner.PropertyVerifier$2.evaluate(PropertyVerifier.java:104)
    2. com.pholser.junit.quickcheck.runner.PropertyVerifier$1.evaluate(PropertyVerifier.java:76)
    3. com.pholser.junit.quickcheck.runner.PropertyVerifier.verify(PropertyVerifier.java:68)
    4. com.pholser.junit.quickcheck.runner.ShrinkNode.verifyProperty(ShrinkNode.java:98)
    5. com.pholser.junit.quickcheck.runner.Shrinker.shrink(Shrinker.java:82)
    6. com.pholser.junit.quickcheck.runner.PropertyStatement.shrink(PropertyStatement.java:158)
    7. com.pholser.junit.quickcheck.runner.PropertyStatement.lambda$property$41(PropertyStatement.java:132)
    8. com.pholser.junit.quickcheck.runner.PropertyVerifier$1.evaluate(PropertyVerifier.java:86)
    9. com.pholser.junit.quickcheck.runner.PropertyVerifier.verify(PropertyVerifier.java:68)
    10. com.pholser.junit.quickcheck.runner.PropertyStatement.verifyProperty(PropertyStatement.java:108)
    11. com.pholser.junit.quickcheck.runner.PropertyStatement.evaluate(PropertyStatement.java:92)
    11 frames
  8. JUnit
    JUnitCore.run
    1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    9. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    10. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    10 frames