HADOOP-12590. TestCompressorDecompressor failing without stack traces (John Zhuge via stevel)
(cherry picked from commit 80734bc346
)
This commit is contained in:
parent
4ab508ead4
commit
1fc36b824c
|
@ -970,6 +970,9 @@ Release 2.7.3 - UNRELEASED
|
|||
HADOOP-12706. TestLocalFsFCStatistics#testStatisticsThreadLocalDataCleanUp
|
||||
times out occasionally (Sangjin Lee and Colin Patrick McCabe via jlowe)
|
||||
|
||||
HADOOP-12590. TestCompressorDecompressor failing without stack traces
|
||||
(John Zhuge via stevel)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -26,6 +26,7 @@ import org.apache.hadoop.io.compress.snappy.SnappyCompressor;
|
|||
import org.apache.hadoop.io.compress.snappy.SnappyDecompressor;
|
||||
import org.apache.hadoop.io.compress.zlib.BuiltInZlibDeflater;
|
||||
import org.apache.hadoop.io.compress.zlib.BuiltInZlibInflater;
|
||||
import org.apache.hadoop.test.GenericTestUtils;
|
||||
import org.junit.Test;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
|
||||
|
@ -66,7 +67,8 @@ public class TestCompressorDecompressor {
|
|||
.test();
|
||||
|
||||
} catch (Exception ex) {
|
||||
fail("testCompressorDecompressor error !!!" + ex);
|
||||
GenericTestUtils.assertExceptionContains(
|
||||
"testCompressorDecompressor error !!!", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -88,7 +90,8 @@ public class TestCompressorDecompressor {
|
|||
.test();
|
||||
|
||||
} catch (Exception ex) {
|
||||
fail("testCompressorDecompressorWithExeedBufferLimit error !!!" + ex);
|
||||
GenericTestUtils.assertExceptionContains(
|
||||
"testCompressorDecompressorWithExeedBufferLimit error !!!", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue