java.lang.AssertionError: There were 5 failed executions against a TestContext expected [0] but found [5]

GitHub | trentontrees | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Unexpected unit test failure when building zucchini

    GitHub | 2 years ago | trentontrees
    java.lang.AssertionError: There were 5 failed executions against a TestContext expected [0] but found [5]
  2. 0

    picard tests fail sometimes

    GitHub | 2 years ago | akiezun
    java.lang.AssertionError: Bustard Parsing Test(25T8B25T) w/Clocs cluster num 10 expected [2159] but found [1903]
  3. 0

    GitHub comment 49#125339322

    GitHub | 2 years ago | bermud
    java.lang.AssertionError: Unexpected HTTP status code. expected [200] but found [404]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Improve Server Monitoring Test

    GitHub | 2 years ago | idrabenia
    java.lang.AssertionError: check count of grouping rows expected [12] but found [11]
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

    There were 5 failed executions against a TestContext expected [0] but found [5]

    at org.testng.Assert.fail()
  2. TestNG
    Assert.assertEquals
    1. org.testng.Assert.fail(Assert.java:94)
    2. org.testng.Assert.failNotEquals(Assert.java:494)
    3. org.testng.Assert.assertEquals(Assert.java:123)
    4. org.testng.Assert.assertEquals(Assert.java:370)
    4 frames
  3. com.comcast.zucchini
    AbstractZucchiniTest.run
    1. com.comcast.zucchini.AbstractZucchiniTest.runParallel(AbstractZucchiniTest.java:173)
    2. com.comcast.zucchini.AbstractZucchiniTest.run(AbstractZucchiniTest.java:123)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  5. TestNG
    TestNG.run
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
    2. org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    7. org.testng.TestRunner.privateRun(TestRunner.java:767)
    8. org.testng.TestRunner.run(TestRunner.java:617)
    9. org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
    10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
    11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
    12. org.testng.SuiteRunner.run(SuiteRunner.java:254)
    13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
    16. org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
    17. org.testng.TestNG.run(TestNG.java:1057)
    17 frames
  6. org.apache.maven
    TestNGProvider.invoke
    1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)
    2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:159)
    3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
    4. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106)
    4 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  8. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
    2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
    3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
    4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
    5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
    5 frames