TiborKovacsCloudera commented on a change in pull request #3763:
URL: https://github.com/apache/hadoop/pull/3763#discussion_r782996062
##########
File path:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAHSv2ClientImpl.java
##########
@@ -107,6 +113,91 @@ public void testGetAppAttemptReport() throws IOException,
YarnException {
isEqualTo("test original tracking url");
}
+ @Test
+ public void testGetContainerByAppAttempt() throws IOException, YarnException
{
+ // Single container tests
+ final ApplicationId appId1 = ApplicationId.newInstance(0, 1);
+ final ApplicationId appId2 = ApplicationId.newInstance(0, 2);
Review comment:
The logic behind is to prove that an application won't appear in a wrong
place.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]