From 96df26be474abe89a8dd83da08fc27903ad19ba7 Mon Sep 17 00:00:00 2001 From: Aaron Davidson Date: Fri, 29 Nov 2013 13:20:35 -0800 Subject: [PATCH] Add spaces between tests --- .../apache/spark/SparkContextSchedulerCreationSuite.scala | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/test/scala/org/apache/spark/SparkContextSchedulerCreationSuite.scala b/core/src/test/scala/org/apache/spark/SparkContextSchedulerCreationSuite.scala index 61d6163659..151af0d213 100644 --- a/core/src/test/scala/org/apache/spark/SparkContextSchedulerCreationSuite.scala +++ b/core/src/test/scala/org/apache/spark/SparkContextSchedulerCreationSuite.scala @@ -99,9 +99,11 @@ class SparkContextSchedulerCreationSuite case e: Throwable => fail(e) } } + test("yarn-standalone") { testYarn("yarn-standalone", "org.apache.spark.scheduler.cluster.YarnClusterScheduler") } + test("yarn-client") { testYarn("yarn-client", "org.apache.spark.scheduler.cluster.YarnClientClusterScheduler") } @@ -120,14 +122,17 @@ class SparkContextSchedulerCreationSuite case e: Throwable => fail(e) } } + test("mesos fine-grained") { System.setProperty("spark.mesos.coarse", "false") testMesos("mesos://localhost:1234", classOf[MesosSchedulerBackend]) } + test("mesos coarse-grained") { System.setProperty("spark.mesos.coarse", "true") testMesos("mesos://localhost:1234", classOf[CoarseMesosSchedulerBackend]) } + test("mesos with zookeeper") { System.setProperty("spark.mesos.coarse", "false") testMesos("zk://localhost:1234,localhost:2345", classOf[MesosSchedulerBackend])