[
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:
---------------------------------------
[[email protected]] 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: [email protected]
For additional commands, e-mail: [email protected]