[ 
https://issues.apache.org/jira/browse/YARN-11474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17715449#comment-17715449
 ] 

ASF GitHub Bot commented on YARN-11474:
---------------------------------------

slfan1989 commented on code in PR #5577:
URL: https://github.com/apache/hadoop/pull/5577#discussion_r1174562338


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestYarnCLI.java:
##########
@@ -1748,6 +1749,74 @@ public void testGetQueueInfo() throws Exception {
     Assert.assertEquals(queueInfoStr, sysOutStream.toString());
   }
 
+  @Test
+  public void testGetQueueInfos() throws Exception {
+    QueueCLI cli = createAndGetQueueCLI();
+    Set<String> nodeLabels = new HashSet<String>();
+    nodeLabels.add("GPU");
+    nodeLabels.add("JDK_7");
+    List<QueueInfo> queueInfos = new ArrayList<>();
+    QueueInfo queueInfo = QueueInfo.
+            newInstance("queueA", "root.queueA",

Review Comment:
   one line.





> The yarn queue list is displayed on the CLI
> -------------------------------------------
>
>                 Key: YARN-11474
>                 URL: https://issues.apache.org/jira/browse/YARN-11474
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 3.3.4
>            Reporter: Lu Yuan
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.3.4
>
>
> The yarn queue list is displayed on the CLI



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to