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 "Aaron Fabbri (JIRA)" <ji...@apache.org> on 2017/10/03 22:55:00 UTC

[jira] [Commented] (HADOOP-14927) ITestS3GuardTool failures in testDestroyNoBucket()

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

Aaron Fabbri commented on HADOOP-14927:
---------------------------------------

[~stevel@apache.org] looking at the code for {{Destroy#run(..)}} in S3GuardTool.java, it seems like the FNFE is caught and suppressed, but the test is expecting an exception to be thrown.   Should we just change the test to *not* expect an exception? 

> ITestS3GuardTool failures in testDestroyNoBucket()
> --------------------------------------------------
>
>                 Key: HADOOP-14927
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14927
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: s3
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Aaron Fabbri
>            Priority: Minor
>
> Hit this when testing for the Hadoop 3.0.0-beta1 RC0.
> {noformat}
> hadoop-3.0.0-beta1-src/hadoop-tools/hadoop-aws$ mvn clean verify -Dit.test="ITestS3GuardTool*" -Dtest=none -Ds3guard -Ddynamo
> ...
> Failed tests: 
>   ITestS3GuardToolDynamoDB>AbstractS3GuardToolTestBase.testDestroyNoBucket:228 Expected an exception, got 0
>   ITestS3GuardToolLocal>AbstractS3GuardToolTestBase.testDestroyNoBucket:228 Expected an exception, got 0
> {noformat}



--
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