Skip to content

Commit 0a54b00

Browse files
committed
Fix ReplSuite replicating blocks of object with class defined in repl
1 parent 02ac379 commit 0a54b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repl/scala-2.11/src/test/scala/org/apache/spark/repl/ReplSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ class ReplSuite extends SparkFunSuite {
401401
"""
402402
|import org.apache.spark.storage.StorageLevel._
403403
|case class Foo(i: Int)
404-
|val ret = sc.parallelize((1 to 100).map(Foo), 10).persist(MEMORY_ONLY_2)
404+
|val ret = sc.parallelize((1 to 100).map(Foo), 10).persist(MEMORY_AND_DISK_2)
405405
|ret.count()
406406
|sc.getExecutorStorageStatus.map(s => s.rddBlocksById(ret.id).size).sum
407407
""".stripMargin)

0 commit comments

Comments
 (0)