-
Notifications
You must be signed in to change notification settings - Fork 9.2k
YARN-5607. Document TestContainerResourceUsage#waitForContainerCompletion #5119
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
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
...-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/CommonUtil.java
Outdated
Show resolved
Hide resolved
...-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/CommonUtil.java
Outdated
Show resolved
Hide resolved
...-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/CommonUtil.java
Outdated
Show resolved
Hide resolved
...-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/CommonUtil.java
Outdated
Show resolved
Hide resolved
...-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/CommonUtil.java
Outdated
Show resolved
Hide resolved
...che/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestIncreaseAllocationExpirer.java
Outdated
Show resolved
Hide resolved
...-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/CommonUtil.java
Outdated
Show resolved
Hide resolved
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
f2bfbba to
0dfcd39
Compare
|
💔 -1 overall
This message was automatically generated. |
|
Hi @ashutoshcipher , for this PR the tests are passing locally but failing at jenkin (log). So I tried it to fix using this PR created by you. I tried to upgrade the version of junit here in this commit but it failed with this jenkin log . |
|
Thanks @susheel-gupta , I will look into it |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
Thanks for working on this.
|
… added to MockRM Change-Id: I5d3dfc4caf4d1ceb3f623a4b8196422f219e03d3
b17ebf2 to
51805fd
Compare
Change-Id: Id2fd115b721c065637558b6b24f2625f397f064c
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
...rver-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/MockRM.java
Outdated
Show resolved
Hide resolved
Change-Id: If1d90cf750fd054542465a746eacd525d525d225
|
💔 -1 overall
This message was automatically generated. |
|
Thanks @susheel-gupta for working on this. |
Description of PR
The logic in TestContainerResourceUsage#waitForContainerCompletion (introduced in YARN-5024) is not immediately obvious. It could use some documentation. Also, this seems like a useful helper method. Should this be moved to one of the mock classes or to a util class?
How was this patch tested?
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?