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

(cherry picked from commit 13cc0f50ea)
This commit is contained in:
Weiwei Yang 2018-10-19 09:26:39 +08:00
parent 6a7bf9f850
commit 37af9580c8
1 changed files with 2 additions and 2 deletions

View File

@ -507,7 +507,7 @@ public class TestCapacityScheduler {
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
@ -609,7 +609,7 @@ public class TestCapacityScheduler {
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) {