Jason Lowe created YARN-7084:
--------------------------------

             Summary: TestSchedulingMonitor#testRMStarts fails sporadically
                 Key: YARN-7084
                 URL: https://issues.apache.org/jira/browse/YARN-7084
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Jason Lowe


TestSchedulingMonitor has been failing sporadically in precommit builds.  
Failures look like this:
{noformat}
Running 
org.apache.hadoop.yarn.server.resourcemanager.monitor.TestSchedulingMonitor
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.802 sec <<< 
FAILURE! - in 
org.apache.hadoop.yarn.server.resourcemanager.monitor.TestSchedulingMonitor
testRMStarts(org.apache.hadoop.yarn.server.resourcemanager.monitor.TestSchedulingMonitor)
  Time elapsed: 1.728 sec  <<< FAILURE!
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
schedulingEditPolicy.editSchedule();
-> at 
org.apache.hadoop.yarn.server.resourcemanager.monitor.TestSchedulingMonitor.testRMStarts(TestSchedulingMonitor.java:58)

However, there were other interactions with this mock:
-> at 
org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitor.<init>(SchedulingMonitor.java:50)
-> at 
org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitor.serviceInit(SchedulingMonitor.java:61)
-> at 
org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitor.serviceInit(SchedulingMonitor.java:62)

        at 
org.apache.hadoop.yarn.server.resourcemanager.monitor.TestSchedulingMonitor.testRMStarts(TestSchedulingMonitor.java:58)
{noformat}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to