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]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by pholser
, 1 year ago
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]
via GitHub by pholser
, 1 year ago
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]
via GitHub by felixvf
, 2 months ago
[TestEventLogger] Expected: is <true> [TestEventLogger] but: was <false>
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(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at com.pholser.junit.quickcheck.runner.PropertyVerifier$2.evaluate(PropertyVerifier.java:104)
at com.pholser.junit.quickcheck.runner.PropertyVerifier$1.evaluate(PropertyVerifier.java:76)
at com.pholser.junit.quickcheck.runner.PropertyVerifier.verify(PropertyVerifier.java:68)
at com.pholser.junit.quickcheck.runner.ShrinkNode.verifyProperty(ShrinkNode.java:98)
at com.pholser.junit.quickcheck.runner.Shrinker.shrink(Shrinker.java:82)
at com.pholser.junit.quickcheck.runner.PropertyStatement.shrink(PropertyStatement.java:158)
at com.pholser.junit.quickcheck.runner.PropertyStatement.lambda$property$41(PropertyStatement.java:132)
at com.pholser.junit.quickcheck.runner.PropertyVerifier$1.evaluate(PropertyVerifier.java:86)
at com.pholser.junit.quickcheck.runner.PropertyVerifier.verify(PropertyVerifier.java:68)
at com.pholser.junit.quickcheck.runner.PropertyStatement.verifyProperty(PropertyStatement.java:108)
at com.pholser.junit.quickcheck.runner.PropertyStatement.evaluate(PropertyStatement.java:92)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)

Users with the same issue

9 times, 6 months ago
8 times, 10 months ago
4 times, 1 month ago
Once, 7 months ago
3 times, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.