[
https://issues.apache.org/jira/browse/YARN-11898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18039766#comment-18039766
]
ASF GitHub Bot commented on YARN-11898:
---------------------------------------
stoty commented on code in PR #8096:
URL: https://github.com/apache/hadoop/pull/8096#discussion_r2548602782
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMHA.java:
##########
@@ -474,6 +476,7 @@ public synchronized void startInternal() throws Exception {
}
@Test
+ @Timeout(value=60, unit = TimeUnit.SECONDS, threadMode = SEPARATE_THREAD)
Review Comment:
This is a rather new Junit 5 feature.
I had to add this for some tests, but apparently it's not needed for this
one.
> TestRMHA.testTransitionedToStandbyShouldNotHang hangs
> -----------------------------------------------------
>
> Key: YARN-11898
> URL: https://issues.apache.org/jira/browse/YARN-11898
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: test, yarn
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Labels: pull-request-available
>
> TestRMHA.testTransitionedToStandbyShouldNotHang hangs.
> This happens both on branch-3.4 and trunk, but on branch-3.4 the tests uses
> Junit4, and is silently killed after a short while.
> The same test on trunk uses Junit 5 and hangs forever.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]