[
https://issues.apache.org/jira/browse/YARN-11269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17582327#comment-17582327
]
ASF GitHub Bot commented on YARN-11269:
---------------------------------------
ashutoshcipher commented on code in PR #4771:
URL: https://github.com/apache/hadoop/pull/4771#discussion_r950714428
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timeline-pluginstorage/src/test/java/org/apache/hadoop/yarn/server/timeline/TestEntityGroupFSTimelineStore.java:
##########
@@ -118,12 +117,18 @@ public class TestEntityGroupFSTimelineStore extends
TimelineStoreTestUtils {
private EntityGroupFSTimelineStore store;
private TimelineEntity entityNew;
- @Rule
- public TestName currTestName = new TestName();
+ @Test
+ void getTestInfo(TestInfo testInfo) { // Automatically injected
+ System.out.println(testInfo.getDisplayName());
+ System.out.println(testInfo.getTestMethod());
+ System.out.println(testInfo.getTestClass());
+ System.out.println(testInfo.getTags());
+ }
+
Review Comment:
Yes, Makes sense.
> 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]