[ 
https://issues.apache.org/jira/browse/HADOOP-12427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14964135#comment-14964135
 ] 

Giovanni Matteo Fumarola commented on HADOOP-12427:
---------------------------------------------------

[~ste...@apache.org] The patch works fine in the current trunk.
I selected all the tests that use Mockito (find . -name Test*.java -exec grep 
-H org.mockito.Mockito {} \; | cut -d ':' -f 1 | sort | uniq | while read f; do 
basename $f .java ; done)
and I executed all to see if the new version creates trouble in trunk.

I got 2 failures with the new version:
--) TestEditLogRace.testSaveRightBeforeSync:515 null
--) TestResourceLocalizationService.testFailedDirsResourceRelease:2333 
Argument(s) are different! Wanted:
eventHandler.handle(
    <custom argument matcher>
);
-> at 
org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService.testFailedDirsResourceRelease(TestResourceLocalizationService.java:2333)
Actual invocation has different arguments:
eventHandler.handle(
    EventType: APPLICATION_INITED
);
-> at 
org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:183)

Any hints?

> Upgrade Mockito version to 1.10.19
> ----------------------------------
>
>                 Key: HADOOP-12427
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12427
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>            Reporter: Giovanni Matteo Fumarola
>            Assignee: Giovanni Matteo Fumarola
>            Priority: Minor
>         Attachments: HADOOP-12427.v0.patch
>
>
> The current version is 1.8.5 - inserted in 2011.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to