hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15398) StagingTestBase uses methods not available in Mockito 1.8.5
Date Fri, 16 Nov 2018 18:10:01 GMT

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

Wangda Tan updated HADOOP-15398:
--------------------------------
    Target Version/s: 3.2.0, 3.1.3  (was: 3.2.0, 3.1.2)

> StagingTestBase uses methods not available in Mockito 1.8.5
> -----------------------------------------------------------
>
>                 Key: HADOOP-15398
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15398
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Mohammad Arshad
>            Assignee: Mohammad Arshad
>            Priority: Major
>         Attachments: HADOOP-15398.001.patch, HADOOP-15398.002.patch
>
>
> *Problem:* hadoop trunk compilation is failing
>  *Root Cause:*
>  compilation error is coming from {{org.apache.hadoop.fs.s3a.commit.staging.StagingTestBase}}.
Compilation error is "The method getArgumentAt(int, Class<UploadPartRequest>) is undefined
for the type InvocationOnMock".
> StagingTestBase is using getArgumentAt(int, Class<UploadPartRequest>) method which
is not available in mockito-all 1.8.5 version. getArgumentAt(int, Class<UploadPartRequest>)
method is available only from version 2.0.0-beta
> *Expectations:*
>  Either mockito-all version to be upgraded or test case to be written only with available
functions in 1.8.5.



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

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


Mime
View raw message