Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15619 Über-JIRA: S3Guard Phase IV: Hadoop 3.3 features
  3. HADOOP-15987

ITestDynamoDBMetadataStore should check if test ddb table set properly before initializing the test

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • None
    • fs/s3
    • None

    Description

      The jira covers the following:

      • We should assert that the table name is configured when DynamoDBMetadataStore is used for testing, so the test should fail if it's not configured.
      • We should assert that the test table is not the same as the production table, as the test table could be modified and destroyed multiple times during the test.
      • This behavior should be added to the testing docs.

      Assume from junit doc:

      A set of methods useful for stating assumptions about the conditions in which a test is meaningful. 
      A failed assumption does not mean the code is broken, but that the test provides no useful information. 
      The default JUnit runner treats tests with failing assumptions as ignored.
      

      A failed assert will cause test failure instead of just skipping the test.

      Attachments

        1. HADOOP-15987.001.patch
          5 kB
          Gabor Bota

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gabor.bota Gabor Bota
            gabor.bota Gabor Bota
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment