YARN-7359. TestAppManager.testQueueSubmitWithNoPermission() should be scheduler agnostic. (Contributed by Haibo Chen)

This commit is contained in:
Yufei Gu 2017-10-19 16:51:29 -07:00
parent ca8ddc6aa4
commit 7b4b018780

View File

@ -305,8 +305,6 @@ public void testRMAppRetireNone() throws Exception {
@Test @Test
public void testQueueSubmitWithNoPermission() throws IOException { public void testQueueSubmitWithNoPermission() throws IOException {
YarnConfiguration conf = new YarnConfiguration(); YarnConfiguration conf = new YarnConfiguration();
conf.set(YarnConfiguration.RM_SCHEDULER,
CapacityScheduler.class.getCanonicalName());
conf.set(PREFIX + "root.acl_submit_applications", " "); conf.set(PREFIX + "root.acl_submit_applications", " ");
conf.set(PREFIX + "root.acl_administer_queue", " "); conf.set(PREFIX + "root.acl_administer_queue", " ");