Skip to content
Snippets Groups Projects
Commit 9cafacf3 authored by Reynold Xin's avatar Reynold Xin
Browse files

Added test for Netty suite.

parent 5d70ee46
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,8 @@ import scala.collection.mutable.ArrayBuffer
import SparkContext._
import storage.{GetBlock, BlockManagerWorker, StorageLevel}
class DistributedSuite extends FunSuite with ShouldMatchers with BeforeAndAfter with LocalSparkContext {
class DistributedSuite extends FunSuite with ShouldMatchers with BeforeAndAfter
with LocalSparkContext {
val clusterUrl = "local-cluster[2,1,512]"
......
package spark
import org.scalatest.BeforeAndAfterAll
class ShuffleNettySuite extends ShuffleSuite with BeforeAndAfterAll {
// This test suite should run all tests in ShuffleSuite with Netty shuffle mode.
override def beforeAll(configMap: Map[String, Any]) {
System.setProperty("spark.shuffle.use.netty", "true")
}
override def afterAll(configMap: Map[String, Any]) {
System.setProperty("spark.shuffle.use.netty", "false")
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment