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:
parent
b0c51504c4
commit
e5ae7c55d1
|
@ -15,6 +15,9 @@ Trunk - Unreleased
|
||||||
YARN-524 TestYarnVersionInfo failing if generated properties doesn't
|
YARN-524 TestYarnVersionInfo failing if generated properties doesn't
|
||||||
include an SVN URL. (stevel)
|
include an SVN URL. (stevel)
|
||||||
|
|
||||||
|
YARN-2216 TestRMApplicationHistoryWriter sometimes fails in trunk.
|
||||||
|
(Zhijie Shen via xgong)
|
||||||
|
|
||||||
Release 2.5.0 - UNRELEASED
|
Release 2.5.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -420,7 +420,7 @@ public class TestRMApplicationHistoryWriter {
|
||||||
int waitCount = 0;
|
int waitCount = 0;
|
||||||
int allocatedSize = allocated.size();
|
int allocatedSize = allocated.size();
|
||||||
while (allocatedSize < request && waitCount++ < 200) {
|
while (allocatedSize < request && waitCount++ < 200) {
|
||||||
Thread.sleep(100);
|
Thread.sleep(300);
|
||||||
allocated =
|
allocated =
|
||||||
am.allocate(new ArrayList<ResourceRequest>(),
|
am.allocate(new ArrayList<ResourceRequest>(),
|
||||||
new ArrayList<ContainerId>()).getAllocatedContainers();
|
new ArrayList<ContainerId>()).getAllocatedContainers();
|
||||||
|
|
Loading…
Reference in New Issue