You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2017/08/01 06:21:00 UTC

[jira] [Updated] (HADOOP-14245) Use Mockito.when instead of Mockito.stub

     [ https://issues.apache.org/jira/browse/HADOOP-14245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akira Ajisaka updated HADOOP-14245:
-----------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.0-beta1
                   2.9.0
           Status: Resolved  (was: Patch Available)

Committed this to trunk and branch-2. Thanks [~boky01] for the contribution!

> Use Mockito.when instead of Mockito.stub
> ----------------------------------------
>
>                 Key: HADOOP-14245
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14245
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: test
>            Reporter: Akira Ajisaka
>            Assignee: Andras Bokor
>            Priority: Minor
>             Fix For: 2.9.0, 3.0.0-beta1
>
>         Attachments: HADOOP-14245.01.patch, HADOOP-14245.02.patch
>
>
> Mockito.stub was removed in Mockito 2. Mockito.when should be used instead.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org