Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6394

Helper class for FileContext tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0, 0.22.0
    • 0.21.0
    • test
    • None

    Description

      A helper class for FileContext tests should contain common methods which can be used in many unit tests, so that every unit test doesn't have to re-implement these functionality.
      Examples of such methods:
      createFile(FileContext fc, Path path, int numBlocks, int blockSize) //To create a file with number of blocks and block-size passed.
      getTestRootPath(FileContext fc)

      Attachments

        1. HADOOP-6394.1.patch
          4 kB
          Jitendra Nath Pandey
        2. HADOOP-6394.2.patch
          61 kB
          Jitendra Nath Pandey
        3. HADOOP-6394.3.patch
          61 kB
          Jitendra Nath Pandey
        4. HADOOP-6394.5.patch
          57 kB
          Jitendra Nath Pandey

        Issue Links

          Activity

            People

              jnp Jitendra Nath Pandey
              jnp Jitendra Nath Pandey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: