Tarun Parimi created YARN-7943:
----------------------------------

             Summary: testCSReservationWithRootUnblocked() and 
testCSQueueBlocked() in TestCapacityScheduler are flaky
                 Key: YARN-7943
                 URL: https://issues.apache.org/jira/browse/YARN-7943
             Project: Hadoop YARN
          Issue Type: Task
          Components: capacity scheduler, test
            Reporter: Tarun Parimi


testCSReservationWithRootUnblocked() and testCSQueueBlocked() test for the 
expected value of Used Resources in different queues after calling allocate() 
and CapacityScheduler.schedule(). 

If CapacityScheduler.schedule() gets executed more than a second after 
NodeAddedSchedulerEvent was handled, then the node will be skipped from 
scheduling. This results in test failure as the node resources will not be 
allocated and so the expected Used Resource value differs.



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

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

Reply via email to