[
https://issues.apache.org/jira/browse/HDFS-13472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mohammad Arshad updated HDFS-13472:
-----------------------------------
Description:
*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.20-beta
*Expectations:*
Either mockito-all version to be upgraded or test case to be written only with
available functions in 1.8.5.
was:
*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.20-beta
*Expectations:*
Either mockito-all version to be upgraded or test case to be written only with
available functions in 1.8.5.
> Compilation error in trunk in hadoop-aws
> -----------------------------------------
>
> Key: HDFS-13472
> URL: https://issues.apache.org/jira/browse/HDFS-13472
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Mohammad Arshad
> Priority: Major
>
> *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.20-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: [email protected]
For additional commands, e-mail: [email protected]