YARN-7466. addendum patch for failing unit test. (Contributed by Chandni Singh)
This commit is contained in:
parent
d85576aefd
commit
62c3801af0
|
@ -177,7 +177,7 @@ public class MockAM {
|
||||||
List<ContainerId> releases, String labelExpression) throws Exception {
|
List<ContainerId> releases, String labelExpression) throws Exception {
|
||||||
List<ResourceRequest> reqs =
|
List<ResourceRequest> reqs =
|
||||||
createReq(new String[] { host }, memory, priority, numContainers,
|
createReq(new String[] { host }, memory, priority, numContainers,
|
||||||
labelExpression, 0L);
|
labelExpression, -1);
|
||||||
return allocate(reqs, releases);
|
return allocate(reqs, releases);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue