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

Clean up some test methods in TestCodec.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • test
    • 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

              brahmareddy Brahma Reddy Battula
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: