Skip to content
Snippets Groups Projects
Commit 9272a004 authored by Patrick Wendell's avatar Patrick Wendell
Browse files

Fix test breaking downstream builds

parent 93bf9620
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ import org.apache.spark.deploy.{ExecutorState, Command, ApplicationDescription} ...@@ -26,7 +26,7 @@ import org.apache.spark.deploy.{ExecutorState, Command, ApplicationDescription}
class ExecutorRunnerTest extends FunSuite { class ExecutorRunnerTest extends FunSuite {
test("command includes appId") { test("command includes appId") {
def f(s:String) = new File(s) def f(s:String) = new File(s)
val sparkHome = sys.env.get("SPARK_HOME").orElse(sys.env.get("spark.home")).get val sparkHome = sys.env.get("SPARK_HOME").orElse(sys.props.get("spark.home")).get
val appDesc = new ApplicationDescription("app name", 8, 500, Command("foo", Seq(),Map()), val appDesc = new ApplicationDescription("app name", 8, 500, Command("foo", Seq(),Map()),
sparkHome, "appUiUrl") sparkHome, "appUiUrl")
val appId = "12345-worker321-9876" val appId = "12345-worker321-9876"
......
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