Szilard Nemeth created YARN-8438:
------------------------------------

             Summary: TestContainer.testKillOnNew flaky on trunk
                 Key: YARN-8438
                 URL: https://issues.apache.org/jira/browse/YARN-8438
             Project: Hadoop YARN
          Issue Type: Bug
          Components: nodemanager
            Reporter: Szilard Nemeth
            Assignee: Szilard Nemeth


Running this test several times (e.g. 30), it fails ~5-10 times.

Stacktrace: 
{code:java}
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at 
org.junit.Assert.assertTrue(Assert.java:41) at 
org.junit.Assert.assertTrue(Assert.java:52) at 
org.apache.hadoop.yarn.server.nodemanager.containermanager.container.TestContainer.testKillOnNew(TestContainer.java:594)
{code}
TestContainer:594 is the following code in trunk, currently:
{code:java}
Assert.assertTrue( containerMetrics.finishTime.value() > 
containerMetrics.startTime .value());
{code}
So sometimes the finish time is not greater than the start time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to