hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HADOOP-11800. Clean up some test methods in TestCodec.java. Contributed by Brahma Reddy Battula.
Date Fri, 03 Apr 2015 15:34:20 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 2c1f33d17 -> 5ea64e672


HADOOP-11800. Clean up some test methods in TestCodec.java. Contributed by Brahma Reddy Battula.

(cherry picked from commit 228ae9aaa40750cb796bbdfd69ba5646c28cd4e7)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5ea64e67
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5ea64e67
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5ea64e67

Branch: refs/heads/branch-2
Commit: 5ea64e67222d4cb6602b29d7f7c5387a778d616b
Parents: 2c1f33d
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Sat Apr 4 00:32:18 2015 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Sat Apr 4 00:33:10 2015 +0900

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt                  | 3 +++
 .../src/test/java/org/apache/hadoop/io/compress/TestCodec.java   | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/5ea64e67/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index c0eeb9c..261ec54 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -58,6 +58,9 @@ Release 2.8.0 - UNRELEASED
     HADOOP-11760. Fix typo of javadoc in DistCp. (Brahma Reddy Battula via
     ozawa).
 
+    HADOOP-11800. Clean up some test methods in TestCodec.java.
+    (Brahma Reddy Battula via aajisaka)
+
 Release 2.7.0 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/5ea64e67/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodec.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodec.java
b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodec.java
index 54768f3..ebeb9f5 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodec.java
+++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodec.java
@@ -832,7 +832,7 @@ public class TestCodec {
     br.close();
   }
 
-  public void testGzipCodecWrite(boolean useNative) throws IOException {
+  private void testGzipCodecWrite(boolean useNative) throws IOException {
     // Create a gzipped file using a compressor from the CodecPool,
     // and try to read it back via the regular GZIPInputStream.
 
@@ -902,7 +902,7 @@ public class TestCodec {
   public void testGzipNativeCodecWrite() throws IOException {
     testGzipCodecWrite(true);
   }
-
+  @Test
   public void testCodecPoolAndGzipDecompressor() {
     // BuiltInZlibInflater should not be used as the GzipCodec decompressor.
     // Assert that this is the case.


Mime
View raw message