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

Clean up some test methods in TestCodec.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Found two issues when reviewing the patches in HADOOP-11627.
      1. There is no @Test annotation, so the test is not executed.

        public void testCodecPoolAndGzipDecompressor() {
      

      2. The method should be private because it is called from other tests.

        public void testGzipCodecWrite(boolean useNative) throws IOException {
      

        Attachments

        1. HADOOP-11800.patch
          1 kB
          Brahma Reddy Battula

          Issue Links

            Activity

              People

              • Assignee:
                brahmareddy Brahma Reddy Battula
                Reporter:
                ajisakaa Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: