Weiwei Yang created YARN-8971:
---------------------------------

             Summary: Improvement to 
TestContainerAllocation#testContainerRejectionWhenAskBeyondDynamicMax
                 Key: YARN-8971
                 URL: https://issues.apache.org/jira/browse/YARN-8971
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Weiwei Yang


This UT seems not work properly.

{code}

// Ask 4GB succeeded.
am1.allocate("*", 4 * GB, 1, null);

{code}

this should not success because it exceeds max node allocation (2GB). It just 
did not throw an exception (but we saw exception on branch-2.8). See more inĀ 
YARN-8858.

We need to improve this UT and let it run more consistently.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to