Skip to content
Snippets Groups Projects
Commit 1ba3393c authored by Stephen Haberman's avatar Stephen Haberman
Browse files

Increase DriverSuite timeout.

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