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

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

brumi1024 commented on code in PR #6432:
URL: https://github.com/apache/hadoop/pull/6432#discussion_r1448809128


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestWebServiceUtil.java:
##########
@@ -213,15 +207,74 @@ public static void assertJsonResponse(ClientResponse 
response,
       IOException {
     assertJsonType(response);
     JSONObject json = response.getEntity(JSONObject.class);
+    sortQueuesLexically(json);

Review Comment:
   I was meant to ask this before: is there a reason we're using two separate 
Json libraries to do (in the end) a string comparison? Couldn't we move 
completely to Jackson?





> Fix flaky json assert tests in TestRMWebServices
> ------------------------------------------------
>
>                 Key: YARN-11645
>                 URL: https://issues.apache.org/jira/browse/YARN-11645
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacityscheduler
>    Affects Versions: 3.4.0
>            Reporter: Tamas Domok
>            Assignee: Tamas Domok
>            Priority: Major
>              Labels: pull-request-available
>
> TestRMWebServicesCapacitySchedDynamicConfig and 
> TestRMWebServicesCapacitySchedulerMixedMode are flaky due to changes in the 
> queue order.



--
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