aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorYin Huai <yhuai@databricks.com>2015-06-29 17:20:05 -0700
committerAndrew Or <andrew@databricks.com>2015-06-29 17:20:05 -0700
commitfbf75738feddebb352d5cedf503b573105d4b7a7 (patch)
tree89bc61daf600be50c03814e6624600640473ef5a /core
parentcec98525fd2b731cb78935bf7bc6c7963411744e (diff)
downloadspark-fbf75738feddebb352d5cedf503b573105d4b7a7.tar.gz
spark-fbf75738feddebb352d5cedf503b573105d4b7a7.tar.bz2
spark-fbf75738feddebb352d5cedf503b573105d4b7a7.zip
[SPARK-7287] [SPARK-8567] [TEST] Add sc.stop to applications in SparkSubmitSuite
Hopefully, this suite will not be flaky anymore. Author: Yin Huai <yhuai@databricks.com> Closes #7027 from yhuai/SPARK-8567 and squashes the following commits: c0167e2 [Yin Huai] Add sc.stop().
Diffstat (limited to 'core')
-rw-r--r--core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala b/core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala
index 357ed90be3..2e05dec99b 100644
--- a/core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala
+++ b/core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala
@@ -548,6 +548,7 @@ object JarCreationTest extends Logging {
if (result.nonEmpty) {
throw new Exception("Could not load user class from jar:\n" + result(0))
}
+ sc.stop()
}
}
@@ -573,6 +574,7 @@ object SimpleApplicationTest {
s"Master had $config=$masterValue but executor had $config=$executorValue")
}
}
+ sc.stop()
}
}