java.lang.AssertionError: Expected: is "RUNNING" but: was "SLEEPING"

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

    Failed on windows: org.sonatype.nexus.integrationtests.nexus4341.Nexus4341RunningTaskNotEditableIT.testNoUpdateForRunningTasks https://builds.sonatype.org/job/nexus-oss-its/jdk=java-6x,label=win/174/testReport/org.sonatype.nexus.integrationtests.nexus4341/Nexus4341RunningTaskNotEditableIT/testNoUpdateForRunningTasks/ {code} Error Message Expected: is "RUNNING" but: was "SLEEPING" Stacktrace java.lang.AssertionError: Expected: is "RUNNING" but: was "SLEEPING" at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) at org.sonatype.nexus.integrationtests.nexus4341.Nexus4341RunningTaskNotEditableIT.testNoUpdateForRunningTasks(Nexus4341RunningTaskNotEditableIT.java:73) 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 26 stack frames {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: Expected: is "RUNNING" but: was "SLEEPING"
  2. 0

    Failed on windows: org.sonatype.nexus.integrationtests.nexus4341.Nexus4341RunningTaskNotEditableIT.testNoUpdateForRunningTasks https://builds.sonatype.org/job/nexus-oss-its/jdk=java-6x,label=win/174/testReport/org.sonatype.nexus.integrationtests.nexus4341/Nexus4341RunningTaskNotEditableIT/testNoUpdateForRunningTasks/ {code} Error Message Expected: is "RUNNING" but: was "SLEEPING" Stacktrace java.lang.AssertionError: Expected: is "RUNNING" but: was "SLEEPING" at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) at org.sonatype.nexus.integrationtests.nexus4341.Nexus4341RunningTaskNotEditableIT.testNoUpdateForRunningTasks(Nexus4341RunningTaskNotEditableIT.java:73) 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 26 stack frames {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: Expected: is "RUNNING" but: was "SLEEPING"
  3. 0

    Build fails during :sagan-site:integTest

    GitHub | 2 years ago | as1s
    java.lang.AssertionError: Expected: "Spring Tool Suiteâ„¢ Downloads" but: was "Spring Tool Suite™ Downloads"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RiverMongoInitialTimestampTest fails in isolation

    GitHub | 3 years ago | kdkeck
    java.lang.AssertionError: Expected: <0L> but: was <1L>
  6. 0

    installing allure jenkins plugin (v2.1) fails on latest jenkins build 1.576

    GitHub | 2 years ago | psura
    java.lang.AssertionError: Expected: is <2> but: was <1>

  1. davidvanlaatum 7 times, last 3 weeks ago
  2. cesarnog 1 times, last 2 months ago
  3. tfr 1 times, last 3 months ago
  4. qoomon 1 times, last 4 months ago
  5. andyglick 5 times, last 8 months ago
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: is "RUNNING" but: was "SLEEPING"

    at org.hamcrest.MatcherAssert.assertThat()
  2. Hamcrest
    MatcherAssert.assertThat
    1. org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    2. org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    2 frames
  3. org.sonatype.nexus
    Nexus4341RunningTaskNotEditableIT.testNoUpdateForRunningTasks
    1. org.sonatype.nexus.integrationtests.nexus4341.Nexus4341RunningTaskNotEditableIT.testNoUpdateForRunningTasks(Nexus4341RunningTaskNotEditableIT.java:73)
    1 frame
  4. 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
  5. 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