You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Aaron Fabbri (JIRA)" <ji...@apache.org> on 2016/11/03 22:47:00 UTC

[jira] [Created] (HADOOP-13793) s3guard: add inconsistency injection, integration tests

Aaron Fabbri created HADOOP-13793:
-------------------------------------

             Summary: s3guard: add inconsistency injection, integration tests
                 Key: HADOOP-13793
                 URL: https://issues.apache.org/jira/browse/HADOOP-13793
             Project: Hadoop Common
          Issue Type: Sub-task
            Reporter: Aaron Fabbri


Many of us share concerns that testing the consistency features of S3Guard will be difficult if we depend on the rare and unpredictable occurrence of actual inconsistency in S3 to exercise those code paths.

I think we should have a mechanism for injecting failure to force exercising of the consistency codepaths in S3Guard.

Requirements:
- Integration tests that cause S3A to see the types of inconsistency we address with S3Guard.
- These are deterministic integration tests.

Unit tests are possible as well, if we were to stub out the S3Client.  That may be less bang for the buck, though.



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

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