YARN-7359. TestAppManager.testQueueSubmitWithNoPermission() should be scheduler agnostic. (Contributed by Haibo Chen)
This commit is contained in:
parent
ca8ddc6aa4
commit
7b4b018780
|
@ -305,8 +305,6 @@ public class TestAppManager{
|
||||||
@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", " ");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue