java.lang.AssertionError: expected:<6> but was:<7>

Sonatype JIRA | Benjamin Hanzelmann | 5 years ago
  1. 0

    Failed org.sonatype.nexus.integrationtests.nexus3670.Nexus3670IndexTreeViewIT.@BeforeMethod oncePerClassSetUp (from Nexus3670IndexTreeViewIT) https://builds.sonatype.org/job/nexus-oss-its/183/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus3670/Nexus3670IndexTreeViewIT/_BeforeMethod_oncePerClassSetUp/ {code} Error Message expected:&lt;6&gt; but was:&lt;7&gt; Stacktrace java.lang.AssertionError: expected:<6> but was:<7> at org.sonatype.nexus.integrationtests.nexus3670.Nexus3670IndexTreeViewIT.runOnce(Nexus3670IndexTreeViewIT.java:52) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:386) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) 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) ... Removed 32 stack frames {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: expected:<6> but was:<7>
  2. 0

    some tests fail while building CFLint

    GitHub | 12 months ago | bardware
    java.lang.AssertionError: expected:<7> but was:<6>
  3. 0

    工具:junit - 测试百科

    183.200 | 11 months ago
    java.lang.AssertionError: expected:<6> but was:<-6>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Test Driven Development | Yazılım Mühendisliği

    cihataltuntas.com | 1 year ago
    java.lang.AssertionError: expected:<7> but was
  6. 0

    September | 2007 | Yazılım Mühendisliği

    cihataltuntas.com | 11 months ago
    java.lang.AssertionError: expected:<7> but was

    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:<6> but was:<7>

      at org.sonatype.nexus.integrationtests.nexus3670.Nexus3670IndexTreeViewIT.runOnce()
    2. org.sonatype.nexus
      AbstractNexusIntegrationTest.oncePerClassSetUp
      1. org.sonatype.nexus.integrationtests.nexus3670.Nexus3670IndexTreeViewIT.runOnce(Nexus3670IndexTreeViewIT.java:52)
      2. org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:386)
      2 frames
    3. org.apache.maven
      TestNGProvider.invoke
      1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
      2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158)
      3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98)
      4. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
      4 frames
    4. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
      5 frames