[
https://issues.apache.org/jira/browse/YARN-11269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17582332#comment-17582332
]
ASF GitHub Bot commented on YARN-11269:
---------------------------------------
aajisaka commented on code in PR #4771:
URL: https://github.com/apache/hadoop/pull/4771#discussion_r950715032
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timeline-pluginstorage/src/test/java/org/apache/hadoop/yarn/server/timeline/TestEntityGroupFSTimelineStore.java:
##########
@@ -173,7 +178,7 @@ public void setup() throws Exception {
}
store = new EntityGroupFSTimelineStore();
- if (currTestName.getMethodName().contains("Plugin")) {
+ if (testInfo.getDisplayName().contains("Plugin")) {
Review Comment:
Oh, sorry I missed the return value is wrapped by `Optional`. Probably
`testInfo.getTestMethod().get().getName()`?
> Upgrade JUnit from 4 to 5 in hadoop-yarn-server-timeline-pluginstorage
> ----------------------------------------------------------------------
>
> Key: YARN-11269
> URL: https://issues.apache.org/jira/browse/YARN-11269
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: test, yarn
> Affects Versions: 3.3.4
> Reporter: groot
> Assignee: groot
> Priority: Major
> Labels: pull-request-available
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]