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

(cherry picked from commit 13cc0f50ea1c5f8978455e34f49716ddb0e3a143)
This commit is contained in:
Weiwei Yang 2018-10-19 09:26:39 +08:00
parent 92c6bde6be
commit beca90ece8

View File

@ -488,7 +488,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
@ -590,7 +590,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) {