YARN-1060. Two tests in TestFairScheduler are missing @Test annotation (Niranjan Singh via Sandy Ryza)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1513724 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2bea314456
commit
88f6837fa5
@ -30,6 +30,9 @@ Release 2.3.0 - UNRELEASED
|
|||||||
YARN-758. Augment MockNM to use multiple cores (Karthik Kambatla via
|
YARN-758. Augment MockNM to use multiple cores (Karthik Kambatla via
|
||||||
Sandy Ryza)
|
Sandy Ryza)
|
||||||
|
|
||||||
|
YARN-1060. Two tests in TestFairScheduler are missing @Test annotation
|
||||||
|
(Niranjan Singh via Sandy Ryza)
|
||||||
|
|
||||||
Release 2.1.1-beta - UNRELEASED
|
Release 2.1.1-beta - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -1991,6 +1991,7 @@ public void testReservationsStrictLocality() {
|
|||||||
assertEquals(0, app.getReservedContainers().size());
|
assertEquals(0, app.getReservedContainers().size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
public void testNoMoreCpuOnNode() {
|
public void testNoMoreCpuOnNode() {
|
||||||
RMNode node1 = MockNodes.newNodeInfo(1, Resources.createResource(2048, 1),
|
RMNode node1 = MockNodes.newNodeInfo(1, Resources.createResource(2048, 1),
|
||||||
1, "127.0.0.1");
|
1, "127.0.0.1");
|
||||||
@ -2009,6 +2010,7 @@ public void testNoMoreCpuOnNode() {
|
|||||||
assertEquals(1, app.getLiveContainers().size());
|
assertEquals(1, app.getLiveContainers().size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
public void testBasicDRFAssignment() throws Exception {
|
public void testBasicDRFAssignment() throws Exception {
|
||||||
RMNode node = MockNodes.newNodeInfo(1, BuilderUtils.newResource(8192, 5));
|
RMNode node = MockNodes.newNodeInfo(1, BuilderUtils.newResource(8192, 5));
|
||||||
NodeAddedSchedulerEvent nodeEvent = new NodeAddedSchedulerEvent(node);
|
NodeAddedSchedulerEvent nodeEvent = new NodeAddedSchedulerEvent(node);
|
||||||
|
Loading…
Reference in New Issue
Block a user