-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
YARN-11337. Upgrade Junit 4 to 5 in hadoop-yarn-applications-mawo #4993
Conversation
@ashutoshcipher Thanks for your contribution, LGTM. |
🎊 +1 overall
This message was automatically generated. |
@aajisaka , Please help in reviewing this PR. |
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, added comments. In addition, do you think we need to add junit-platform-launcher dependency in pom.xml?
|
||
MawoConfiguration mawoConf = new MawoConfiguration(); | ||
|
||
// validate Rpc server port | ||
Assert.assertEquals(mawoConf.getRpcServerPort(), 5120); | ||
assertEquals(mawoConf.getRpcServerPort(), 5120); |
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.
Would you fix the order of the argument as follows?
assertEquals(5120, mawoConf.getRpcServerPort());
|
||
// validate default teardownWorkerValidity Interval | ||
Assert.assertEquals(mawoConf.getTeardownWorkerValidityInterval(), 120000); | ||
assertEquals(mawoConf.getTeardownWorkerValidityInterval(), 120000); |
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.
Should be assertEquals(120000, mawoConf.getTeardownWorkerValidityInterval());
Thanks @aajisaka for reviewing, I will address you comments in my next commit and also add |
🎊 +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.
LGTM
Thanks @aajisaka for reviewing/merging. |
…ache#4993) Co-authored-by: Ashutosh Gupta <ashugpt@amazon.com> Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
Description of PR
Upgrade Junit 4 to 5 in hadoop-yarn-applications-mawo
JIRA - YARN-11337
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?