Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
on some computers sometimes testTaskSchedulerWithReuse fail
probably it relates to TEZ-1478
Running org.apache.tez.dag.app.rm.TestTezAMRMClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.701 sec
Running org.apache.tez.dag.app.rm.TestTaskScheduler
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.561 sec <<< FAILURE!
testTaskSchedulerWithReuse(org.apache.tez.dag.app.rm.TestTaskScheduler) Time elapsed: 0.051 sec <<< FAILURE!
org.mockito.exceptions.verification.WantedButNotInvoked:
Wanted but not invoked:
taskSchedulerAppCallback.taskAllocated(
<any>,
<any>,
<any>
);
-> at org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:721)
However, there were other interactions with this mock:
-> at org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$SetApplicationRegistrationDataCallable.call(TaskSchedulerAppCallbackWrapper.java:244)
at org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:721)
Running org.apache.tez.dag.app.dag.impl.TestTaskRecovery
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.148 sec