Fix test breaking downstream builds
This commit is contained in:
parent
93bf96205d
commit
9272a004af
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue