Skip to content
Snippets Groups Projects
Commit a4611d66 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Merge pull request #449 from stephenh/longerdriversuite

Increase DriverSuite timeout.
parents 2d9eca9f 1ba3393c
No related branches found
No related tags found
No related merge requests found
......@@ -9,10 +9,11 @@ import org.scalatest.time.SpanSugar._
class DriverSuite extends FunSuite with Timeouts {
test("driver should exit after finishing") {
assert(System.getenv("SPARK_HOME") != null)
// Regression test for SPARK-530: "Spark driver process doesn't exit after finishing"
val masters = Table(("master"), ("local"), ("local-cluster[2,1,512]"))
forAll(masters) { (master: String) =>
failAfter(10 seconds) {
failAfter(30 seconds) {
Utils.execute(Seq("./run", "spark.DriverWithoutCleanup", master),
new File(System.getenv("SPARK_HOME")))
}
......
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