[
https://issues.apache.org/jira/browse/YARN-11898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18039682#comment-18039682
]
ASF GitHub Bot commented on YARN-11898:
---------------------------------------
stoty opened a new pull request, #8096:
URL: https://github.com/apache/hadoop/pull/8096
### Description of PR
Add a timeout to stop it from hanging and reporting the error instead of
hanging forever.
This does not fix the test or the bug the test uncovers, but the test will
fail instead of hanging.
### How was this patch tested?
mvn clean test -am -pl
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
-Dtest=TestRMHA
### For code changes:
- [X] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> 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
>
> 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]