|
@@ -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();
|