YARN-7734. Fix UT failure TestContainerLogsPage#testContainerLogPageAccess. Contributed by Tao Yang.
(cherry picked from commit 411993f6e5723c8cba8100bff0269418e46f6367)
This commit is contained in:
parent
a13b3edfd8
commit
c3ca10c22a
@ -259,6 +259,7 @@ public void testContainerLogPageAccess() throws IOException {
|
||||
new ConcurrentHashMap<ContainerId, Container>();
|
||||
when(context.getContainers()).thenReturn(containers);
|
||||
when(context.getLocalDirsHandler()).thenReturn(dirsHandler);
|
||||
when(context.getConf()).thenReturn(conf);
|
||||
|
||||
MockContainer container = new MockContainer(appAttemptId,
|
||||
new AsyncDispatcher(), conf, user, appId, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user