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 "Sean Mackrory (JIRA)" <ji...@apache.org> on 2017/02/10 18:28:41 UTC

[jira] [Updated] (HADOOP-14068) Add integration test version of TestMetadataStore for DynamoDB

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

Sean Mackrory updated HADOOP-14068:
-----------------------------------
    Attachment: HADOOP-14068-HADOOP-13345.001.patch

Attaching a first patch that extends TestDynamoDBMetadataStore and allows the same tests to run against the real DynamoDB service.

I still have a few things to clean up, but at this point all the tests pass in the real environment too, and they're run against a local instance when just running unit tests, and against the remote instance when running integration tests (note that the latter takes about ~10 minutes because it drops and recreates the table for every test).

> Add integration test version of TestMetadataStore for DynamoDB
> --------------------------------------------------------------
>
>                 Key: HADOOP-14068
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14068
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Sean Mackrory
>            Assignee: Sean Mackrory
>         Attachments: HADOOP-14068-HADOOP-13345.001.patch
>
>
> I tweaked TestDynamoDBMetadataStore to run against the actual Amazon DynamoDB service (as opposed to the "local" edition). Several tests failed because of minor variations in behavior. I think the differences that are clearly possible are enough to warrant extending that class as an ITest (but obviously keeping the existing test so 99% of the the coverage remains even when not configured for actual DynamoDB usage).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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