YARN-11042. Fix testQueueSubmitWithACLsEnabledWithQueueMapping in TestAppManager. Contributed by Tamas Domok

This commit is contained in:
Szilard Nemeth 2022-03-02 16:19:17 +01:00
parent 902a7935e9
commit 356d337d1e

View File

@ -331,7 +331,7 @@ public void testQueueSubmitWithACLsEnabledWithQueueMapping()
csConf.set(PREFIX + "root.test.acl_submit_applications", "test"); csConf.set(PREFIX + "root.test.acl_submit_applications", "test");
csConf.set(PREFIX + "root.test.acl_administer_queue", "test"); csConf.set(PREFIX + "root.test.acl_administer_queue", "test");
asContext.setQueue("test"); asContext.setQueue("oldQueue");
MockRM newMockRM = new MockRM(csConf); MockRM newMockRM = new MockRM(csConf);
RMContext newMockRMContext = newMockRM.getRMContext(); RMContext newMockRMContext = newMockRM.getRMContext();