[
https://issues.apache.org/jira/browse/YARN-11764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923683#comment-17923683
]
ASF GitHub Bot commented on YARN-11764:
---------------------------------------
slfan1989 commented on code in PR #7345:
URL: https://github.com/apache/hadoop/pull/7345#discussion_r1941099395
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:
##########
@@ -560,13 +560,17 @@ public void testAMRMClientMatchStorage() throws
YarnException, IOException {
}
}
- assertEquals(2, allocatedContainerCount);
+ assertTrue(allocatedContainerCount <= 2);
Review Comment:
I plan to further investigate this part of the unit tests, which may take
some time. The best outcome would be for them to pass successfully.
> yarn tests have stopped running.
> --------------------------------
>
> Key: YARN-11764
> URL: https://issues.apache.org/jira/browse/YARN-11764
> Project: Hadoop YARN
> Issue Type: Bug
> Components: gpg, nodemanager, resourcemanager
> Affects Versions: 3.5.0
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
>
> After completing HADOOP-15984, we added JUnit5 test dependencies to some
> modules. These dependencies caused maven-surefire to fail to recognize JUnit4
> tests, leading to the cessation of unit tests in some YARN modules. As a
> result, some YARN unit tests failed and were not detected in time. This JIRA
> will track and resolve these issues, including the stopped unit tests and
> test errors.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]