-
Notifications
You must be signed in to change notification settings - Fork 9.1k
YARN-11413. Fix Junit Test ERROR Introduced By YARN-6412. #5289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@brumi1024 @riyakhdl I found that YARN-6412 (#5242) introduces a unit test bug, I think it is necessary to add instructions in |
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @slfan1989 for the quick reaction! I agree that the test is at fault here, because the properties that doesn't match this pattern are filtered out from the Configuration file, so basically every configuration property that has the %s in its name for string replacement will break this test once it gets documented, which is exactly the opposite of what this test should be doing. However instead of skipping these props, can you please update the pattern?
@brumi1024 Thanks for your suggestion, I will fix it as soon as possible. |
@brumi1024 can you take a look? |
@goiri see my comment above. I think adding these two props to the skipped list is just hiding a different problem, the pattern should be fixed. I can provide an update tomorrow if @slfan1989 doesn’t have the time for it. |
@goiri @brumi1024 Thank you very much for helping to review the code, I'll try to fix it. |
Code modification instructions are as follows: 1.Modify the 2.There are some properties in The attribute information is as follows:
|
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @slfan1989. The latest patch LGTM, and the failing test run successfully locally. Let's wait for a build.
💔 -1 overall
This message was automatically generated. |
@brumi1024 Can you help to review this PR again? Thank you very much! |
@slfan1989 merged to trunk. |
@brumi1024 Thank you very much for helping to review the code! |
JIRA: YARN-11413. Fix Junit Test ERROR Introduced By YARN-6412.
YARN-6412 (#5242) caused TestCommonConfigurationFields#testCompareXmlAgainstConfigurationClass to be wrong.
We can see the following error message
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5193/15/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt