TestRMApplicationHistoryWriter sometimes fails in trunk. Contributed by Zhijie Shen

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1606835 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Xuan Gong 2014-06-30 16:51:22 +00:00
parent b0c51504c4
commit e5ae7c55d1
2 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,9 @@ Trunk - Unreleased
YARN-524 TestYarnVersionInfo failing if generated properties doesn't
include an SVN URL. (stevel)
YARN-2216 TestRMApplicationHistoryWriter sometimes fails in trunk.
(Zhijie Shen via xgong)
Release 2.5.0 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -420,7 +420,7 @@ private void testRMWritingMassiveHistory(MockRM rm) throws Exception {
int waitCount = 0;
int allocatedSize = allocated.size();
while (allocatedSize < request && waitCount++ < 200) {
Thread.sleep(100);
Thread.sleep(300);
allocated =
am.allocate(new ArrayList<ResourceRequest>(),
new ArrayList<ContainerId>()).getAllocatedContainers();