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]

GitHub | pholser | 4 months ago
  1. 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]
  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#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]
  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 2 weeks 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

    Expected: a value less than <1> but: <1353697724> was greater than <1>

    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.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:497)
    4 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.PropertyStatement.verifyProperty(PropertyStatement.java:108)
    5. com.pholser.junit.quickcheck.runner.PropertyStatement.evaluate(PropertyStatement.java:92)
    5 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
  9. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
    2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
    2 frames
  10. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    2 frames