diff options
author | Patrick Wendell <pwendell@gmail.com> | 2014-01-06 13:03:19 -0800 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-01-06 13:03:19 -0800 |
commit | 9272a004af7dd464809d9effc4ddc248a53919df (patch) | |
tree | a9f64f458c7b105330b1808cb1f1c69d377477af /core/src | |
parent | 93bf96205da5d2629c5ac3c6b1d6ce0690688415 (diff) | |
download | spark-9272a004af7dd464809d9effc4ddc248a53919df.tar.gz spark-9272a004af7dd464809d9effc4ddc248a53919df.tar.bz2 spark-9272a004af7dd464809d9effc4ddc248a53919df.zip |
Fix test breaking downstream builds
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/test/scala/org/apache/spark/deploy/worker/ExecutorRunnerTest.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/test/scala/org/apache/spark/deploy/worker/ExecutorRunnerTest.scala b/core/src/test/scala/org/apache/spark/deploy/worker/ExecutorRunnerTest.scala index f58b1ee05a..7e5aaa3f98 100644 --- a/core/src/test/scala/org/apache/spark/deploy/worker/ExecutorRunnerTest.scala +++ b/core/src/test/scala/org/apache/spark/deploy/worker/ExecutorRunnerTest.scala @@ -26,7 +26,7 @@ import org.apache.spark.deploy.{ExecutorState, Command, ApplicationDescription} class ExecutorRunnerTest extends FunSuite { test("command includes appId") { 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()), sparkHome, "appUiUrl") val appId = "12345-worker321-9876" |