Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0, 0.22.0
    • Fix Version/s: 0.21.0
    • Component/s: test
    • Labels:
      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.5.patch
          57 kB
          Jitendra Nath Pandey
        2. HADOOP-6394.3.patch
          61 kB
          Jitendra Nath Pandey
        3. HADOOP-6394.2.patch
          61 kB
          Jitendra Nath Pandey
        4. HADOOP-6394.1.patch
          4 kB
          Jitendra Nath Pandey

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: