YARN-1907. TestRMApplicationHistoryWriter#testRMWritingMassiveHistory intermittently fails. Contributed by Mit Desai.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1585992 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b8f250a99d
commit
c3f6d71726
@ -68,6 +68,9 @@ Release 2.5.0 - UNRELEASED
|
|||||||
YARN-1784. TestContainerAllocation assumes CapacityScheduler.
|
YARN-1784. TestContainerAllocation assumes CapacityScheduler.
|
||||||
(Robert Kanter via kasha)
|
(Robert Kanter via kasha)
|
||||||
|
|
||||||
|
YARN-1907. TestRMApplicationHistoryWriter#testRMWritingMassiveHistory
|
||||||
|
intermittently fails. (Mit Desai via kihwal)
|
||||||
|
|
||||||
Release 2.4.1 - UNRELEASED
|
Release 2.4.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -439,7 +439,7 @@ private void testRMWritingMassiveHistory(MockRM rm) throws Exception {
|
|||||||
int cleanedSize = cleaned.size();
|
int cleanedSize = cleaned.size();
|
||||||
waitCount = 0;
|
waitCount = 0;
|
||||||
while (cleanedSize < allocatedSize && waitCount++ < 200) {
|
while (cleanedSize < allocatedSize && waitCount++ < 200) {
|
||||||
Thread.sleep(100);
|
Thread.sleep(300);
|
||||||
resp = nm.nodeHeartbeat(true);
|
resp = nm.nodeHeartbeat(true);
|
||||||
cleaned = resp.getContainersToCleanup();
|
cleaned = resp.getContainersToCleanup();
|
||||||
cleanedSize += cleaned.size();
|
cleanedSize += cleaned.size();
|
||||||
|
Loading…
Reference in New Issue
Block a user