java.lang.AssertionError: Property shouldHold falsified. Failure message: [ Expected: a value less than <1073741823> but: <1353081228> was greater than <1073741823>] Args: [Foo[1353081228]] Seeds: [-6168442671370861181]

GitHub | pholser | 3 months ago
  1. 0

    GitHub comment 124#241091673

    GitHub | 3 months ago | pholser
    java.lang.AssertionError: Property shouldHold falsified. Failure message: [ Expected: a value less than <1073741823> but: <1353081228> was greater than <1073741823>] Args: [Foo[1353081228]] Seeds: [-6168442671370861181]
  2. 0

    GitHub comment 99#219466670

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

    Exception from shrunk example is not logged

    GitHub | 4 months ago | tinkerware
    java.lang.AssertionError: Property commutativeCombine falsified. Original failure message: [high[=1984954367] < 2 * low[=1166016512]: a=HistogramSnapshot{count=1, range=RuntimeRange{1166016512,1167065087}}, b=HistogramSnapshot{count=1, range=RuntimeRange{1983905792,1984954367}}] Original args: [HistogramSnapshot{count=1, range=RuntimeRange{1166016512,1167065087}}, HistogramSnapshot{count=1, range=RuntimeRange{1983905792,1984954367}}] Args shrunken to: [HistogramSnapshot{count=1, range=RuntimeRange{992477184,993001471}}, HistogramSnapshot{count=1, range=RuntimeRange{1983905792,1984954367}}] Seeds: [1908559894991300119, -3782965659388203707]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 124#241091673

    GitHub | 3 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

    Regression org.sonatype.nexus.proxy.walker.FixedRateWalkerThrottleControllerTest.testDoesItHelpAtAll https://builds.sonatype.org/job/nexus-oss-its-external-developer/jdk=java-6x,label=win/4/testReport/org.sonatype.nexus.proxy.walker/FixedRateWalkerThrottleControllerTest/testDoesItHelpAtAll/ {code} Error Message TPS500 should less than Unreal one Expected: a value less than <113> but: <131> was greater than <113> Stacktrace java.lang.AssertionError: TPS500 should less than Unreal one Expected: a value less than <113> but: <131> was greater than <113> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.sonatype.nexus.proxy.walker.FixedRateWalkerThrottleControllerTest.testDoesItHelpAtAll(FixedRateWalkerThrottleControllerTest.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: TPS500 should less than Unreal one Expected: a value less than <113> but: <131> was greater than <113>

    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. Failure message: [ Expected: a value less than <1073741823> but: <1353081228> was greater than <1073741823>] Args: [Foo[1353081228]] Seeds: [-6168442671370861181]

      at com.pholser.junit.quickcheck.runner.PropertyFalsified.counterexampleFound()
    2. com.pholser.junit
      PropertyStatement.evaluate
      1. com.pholser.junit.quickcheck.runner.PropertyFalsified.counterexampleFound(PropertyFalsified.java:42)
      2. com.pholser.junit.quickcheck.runner.ShrinkNode.fail(ShrinkNode.java:117)
      3. com.pholser.junit.quickcheck.runner.Shrinker.shrink(Shrinker.java:103)
      4. com.pholser.junit.quickcheck.runner.PropertyStatement.shrink(PropertyStatement.java:158)
      5. com.pholser.junit.quickcheck.runner.PropertyStatement.lambda$property$41(PropertyStatement.java:132)
      6. com.pholser.junit.quickcheck.runner.PropertyVerifier$1.evaluate(PropertyVerifier.java:86)
      7. com.pholser.junit.quickcheck.runner.PropertyVerifier.verify(PropertyVerifier.java:68)
      8. com.pholser.junit.quickcheck.runner.PropertyStatement.verifyProperty(PropertyStatement.java:108)
      9. com.pholser.junit.quickcheck.runner.PropertyStatement.evaluate(PropertyStatement.java:92)
      9 frames
    3. 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