tomicooler opened a new pull request, #5736: URL: https://github.com/apache/hadoop/pull/5736
### Description of PR The goal is to have the same json formatting options when using the `updateTestDataAutomatically` helper function. ### How was this patch tested? I verified that the updated JSON content is the same as before: ```shell # before ➜ /Users/tdomok/Work/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/resources/webapp git:(YARN-11429) for f in *.json; do echo -n "$f "; cat $f | jq | md5sum; done scheduler-response-AbsoluteMode.json 3cd84395f2864bbfcab55d1f81be5f44 - scheduler-response-AbsoluteModeLegacyAutoCreation.json 4dbd90be628a52fa16eac0bde3774d6d - scheduler-response-PerUserResources.json eda777af4bf2f6cbfd3dc4b1a0ac945a - scheduler-response-PercentageMode.json 9a1dbd77cb034390092a553bfb04c078 - scheduler-response-PercentageModeLegacyAutoCreation.json 9ca117ab46a4eb8be261650d26b17ae4 - scheduler-response-WeightMode.json b87bc438cc66619e16edec4acef1dafb - scheduler-response-WeightModeWithAutoCreatedQueues-After.json 4265fb1c65813a44989f9f77cbd5e862 - scheduler-response-WeightModeWithAutoCreatedQueues-Before.json a239664f30b71478991b0504a66dc4a5 - scheduler-response.json 6e5b607d133ddf4e00eda23842b274db - # after ➜ /Users/tdomok/Work/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/resources/webapp git:(YARN-11429) for f in *.json; do echo -n "$f "; cat $f | jq | md5sum; done scheduler-response-AbsoluteMode.json 3cd84395f2864bbfcab55d1f81be5f44 - scheduler-response-AbsoluteModeLegacyAutoCreation.json 4dbd90be628a52fa16eac0bde3774d6d - scheduler-response-PerUserResources.json eda777af4bf2f6cbfd3dc4b1a0ac945a - scheduler-response-PercentageMode.json 9a1dbd77cb034390092a553bfb04c078 - scheduler-response-PercentageModeLegacyAutoCreation.json 9ca117ab46a4eb8be261650d26b17ae4 - scheduler-response-WeightMode.json b87bc438cc66619e16edec4acef1dafb - scheduler-response-WeightModeWithAutoCreatedQueues-After.json 4265fb1c65813a44989f9f77cbd5e862 - scheduler-response-WeightModeWithAutoCreatedQueues-Before.json a239664f30b71478991b0504a66dc4a5 - scheduler-response.json 6e5b607d133ddf4e00eda23842b274db - ``` ### For code changes: - [x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'YARN-11429. 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? -- 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]
