Skip to content

Commit

Permalink
Fix test breaking downstream builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pwendell committed Jan 6, 2014
1 parent 93bf962 commit 9272a00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9272a00

Please sign in to comment.