Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Running this test several times (e.g. 30), it fails ~5-10 times.
Stacktrace:
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)
TestContainer:594 is the following code in trunk, currently:
Assert.assertTrue( containerMetrics.finishTime.value() > containerMetrics.startTime .value());
So sometimes the finish time is not greater than the start time.