Skip to content

Commit

Permalink
Removed unnecessary lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Jun 3, 2015
1 parent 50a608d commit da75d34
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ class SerializationDebuggerSuite extends SparkFunSuite with BeforeAndAfterEach {

test("object containing writeReplace() which returns not serializable object") {
val s = find(new SerializableClassWithWriteReplace(new NotSerializable))
println("-----\n" + s.zipWithIndex.mkString("\n") + "\n----")
assert(s.size === 3)
assert(s(0).contains("NotSerializable"))
assert(s(1).contains("writeReplace"))
Expand All @@ -122,7 +121,6 @@ class SerializationDebuggerSuite extends SparkFunSuite with BeforeAndAfterEach {

test("object containing writeObject() and not serializable field") {
val s = find(new SerializableClassWithWriteObject(new NotSerializable))
println("-----\n" + s.zipWithIndex.mkString("\n") + "\n----")
assert(s.size === 3)
assert(s(0).contains("NotSerializable"))
assert(s(1).contains("writeObject data"))
Expand All @@ -133,7 +131,6 @@ class SerializationDebuggerSuite extends SparkFunSuite with BeforeAndAfterEach {
assert(find(new SerializableClassWithWriteObject(new SerializableClass1)).isEmpty)
}


test("object of serializable subclass with more fields than superclass (SPARK-7180)") {
// This should not throw ArrayOutOfBoundsException
find(new SerializableSubclass(new SerializableClass1))
Expand Down

0 comments on commit da75d34

Please sign in to comment.