Skip to content

Commit 352bb3d

Browse files
committed
Update Snappy version to 1.1.2 and modify test case as concatenation of serialized streams is now supported
1 parent 883bd8f commit 352bb3d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

core/src/test/scala/org/apache/spark/io/CompressionCodecSuite.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,10 @@ class CompressionCodecSuite extends SparkFunSuite {
100100
testCodec(codec)
101101
}
102102

103-
test("snappy does not support concatenation of serialized streams") {
103+
test("snappy supports concatenation of serialized streams") {
104104
val codec = CompressionCodec.createCodec(conf, classOf[SnappyCompressionCodec].getName)
105105
assert(codec.getClass === classOf[SnappyCompressionCodec])
106-
intercept[Exception] {
107-
testConcatenationOfSerializedStreams(codec)
108-
}
106+
testConcatenationOfSerializedStreams(codec)
109107
}
110108

111109
test("bad compression codec") {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
<jline.groupid>org.scala-lang</jline.groupid>
165165
<codehaus.jackson.version>1.9.13</codehaus.jackson.version>
166166
<fasterxml.jackson.version>2.4.4</fasterxml.jackson.version>
167-
<snappy.version>1.1.1.7</snappy.version>
167+
<snappy.version>1.1.2</snappy.version>
168168
<netlib.java.version>1.1.2</netlib.java.version>
169169
<calcite.version>1.2.0-incubating</calcite.version>
170170
<commons-codec.version>1.10</commons-codec.version>

0 commit comments

Comments
 (0)