java.lang.AssertionError

expected:<SCHEDULED> but was:<ALLOCATED>

Samebug tips1

Check your pattern declaration or check your assert declaration.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3571

  • Stack trace

    • java.lang.AssertionError: expected:<SCHEDULED> but was:<ALLOCATED> at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.junit.Assert.assertEquals(Assert.java:147) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testAMContainerAllocationWhenDNSUnavailable(TestContainerAllocation.java:240)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    AxeloAxelo
    5 times, last one
    jf-astjf-ast
    Once,
    oddodd
    3 times, last one
    mauritiusmauritius
    Once,
    musketyrmusketyr
    4 times, last one
    98 more bugmates