commit | 60033fd5816e16d67509e409bc4fc8eaaa8029a0 | [log] [tgz] |
---|---|---|
author | slfan1989 <55643692+slfan1989@users.noreply.github.com> | Sat Jan 06 16:26:01 2024 +0800 |
committer | GitHub <noreply@github.com> | Sat Jan 06 16:26:01 2024 +0800 |
tree | d80e50c7c3045e4634554fd65a088fd51c2ba8a5 | |
parent | 08713665c01116455f6e36e9d89a37095e88f40d [diff] |
YARN-11642. Fix Flaky Test TestTimelineAuthFilterForV2#testPutTimelineEntities. (#6417) Contributed by Shilun Fan. Reviewed-by: Ayush Saxena <ayushsaxena@apache.org> Signed-off-by: Shilun Fan <slfan1989@apache.org>
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/src/test/java/org/apache/hadoop/yarn/server/timelineservice/security/TestTimelineAuthFilterForV2.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/src/test/java/org/apache/hadoop/yarn/server/timelineservice/security/TestTimelineAuthFilterForV2.java index 4b041d7..8be3b64 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/src/test/java/org/apache/hadoop/yarn/server/timelineservice/security/TestTimelineAuthFilterForV2.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/src/test/java/org/apache/hadoop/yarn/server/timelineservice/security/TestTimelineAuthFilterForV2.java
@@ -211,7 +211,8 @@ public void initialize() throws Exception { } UserGroupInformation.setConfiguration(conf); collectorManager = new DummyNodeTimelineCollectorManager(); - auxService = PerNodeTimelineCollectorsAuxService.launchServer( + PerNodeTimelineCollectorsAuxService as = new PerNodeTimelineCollectorsAuxService(); + auxService = as.launchServer( new String[0], collectorManager, conf); if (withKerberosLogin) { SecurityUtil.login(conf, YarnConfiguration.TIMELINE_SERVICE_KEYTAB,