YARN-8907. Fix incorrect logging message in TestCapacityScheduler. Contributed by Zhankun Tang.

This commit is contained in:
Weiwei Yang 2018-10-19 09:26:39 +08:00
parent cd2158456d
commit 13cc0f50ea

View File

@ -487,7 +487,7 @@ protected RMNodeLabelsManager createNodeLabelManager() {
application1.schedule(); application1.schedule();
checkApplicationResourceUsage(3 * GB, application1); checkApplicationResourceUsage(3 * GB, application1);
checkNodeResourceUsage(4 * GB, nm0); checkNodeResourceUsage(4 * GB, nm0);
LOG.info("--- START: testNotAssignMultiple ---"); LOG.info("--- END: testNotAssignMultiple ---");
} }
@Test @Test
@ -589,7 +589,7 @@ protected RMNodeLabelsManager createNodeLabelManager() {
application1.schedule(); application1.schedule();
checkApplicationResourceUsage(7 * GB, application1); checkApplicationResourceUsage(7 * GB, application1);
checkNodeResourceUsage(10 * GB, nm0); checkNodeResourceUsage(10 * GB, nm0);
LOG.info("--- START: testAssignMultiple ---"); LOG.info("--- END: testAssignMultiple ---");
} }
private void nodeUpdate(ResourceManager rm, NodeManager nm) { private void nodeUpdate(ResourceManager rm, NodeManager nm) {