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

(cherry picked from commit 228ae9aaa4)
This commit is contained in:
Akira Ajisaka 2015-04-04 00:32:18 +09:00
parent 2c1f33d178
commit 5ea64e6722
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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.