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

Chris Nauroth updated HADOOP-13446:
-----------------------------------
    Attachment: HADOOP-13446-HADOOP-13345.002.patch

I'm attaching patch v002.

# Another change in behavior is that to run just a single integration test, you 
need to pass {{-Dit.test}} instead of {{-Dtest}}.  I added information about 
this in the documentation and included a few more specific usage examples.
# Somewhat deceptively, {{TestInMemoryNativeS3FileSystemContract}} needs to 
become an integration test because of dependencies on the customized test 
configuration files, which won't be present on the Jenkins hosts.  I'm not 
going to attempt to break that dependency now, because we're not investing a 
lot of effort in maintaining S3N.  I renamed it to 
{{ITestInMemoryNativeS3FileSystemContract}}.
# I've done some random Checkstyle clean-ups too.


> S3Guard: Support running isolated unit tests separate from AWS integration 
> tests.
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-13446
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13446
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-13446-HADOOP-13345.001.patch, 
> HADOOP-13446-HADOOP-13345.002.patch
>
>
> Currently, the hadoop-aws module only runs Surefire if AWS credentials have 
> been configured.  This implies that all tests must run integrated with the 
> AWS back-end.  It also means that no tests run as part of ASF pre-commit.  
> This issue proposes for the hadoop-aws module to support running isolated 
> unit tests without integrating with AWS.  This will benefit S3Guard, because 
> we expect the need for isolated mock-based testing to simulate eventual 
> consistency behavior.  It also benefits hadoop-aws in general by allowing 
> pre-commit to do something more valuable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to