fix formatting

Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/ca66f5d5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/ca66f5d5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/ca66f5d5

Branch: refs/heads/master
Commit: ca66f5d5a287873d930a3bdc36d40d8e776ca25a
Parents: 8d3cdda
Author: Imran Rashid <[email protected]>
Authored: Thu Nov 7 07:23:59 2013 -0600
Committer: Imran Rashid <[email protected]>
Committed: Thu Nov 7 07:23:59 2013 -0600

----------------------------------------------------------------------
 .../org/apache/spark/deploy/worker/ExecutorRunnerTest.scala  | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/ca66f5d5/core/src/test/scala/org/apache/spark/deploy/worker/ExecutorRunnerTest.scala
----------------------------------------------------------------------
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 a3111e2..d433806 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
@@ -1,17 +1,19 @@
 package org.apache.spark.deploy.worker
 
+import java.io.File
 import org.scalatest.FunSuite
 import org.apache.spark.deploy.{ExecutorState, Command, ApplicationDescription}
-import java.io.File
 
 class ExecutorRunnerTest extends FunSuite {
 
   test("command includes appId") {
     def f(s:String) = new File(s)
     val sparkHome = sys.props("user.dir")
-    val appDesc = new ApplicationDescription("app name", 8, 500, 
Command("foo", Seq(),Map()), sparkHome, "appUiUrl")
+    val appDesc = new ApplicationDescription("app name", 8, 500, 
Command("foo", Seq(),Map()),
+      sparkHome, "appUiUrl")
     val appId = "12345-worker321-9876"
-    val er = new ExecutorRunner(appId, 1, appDesc, 8, 500, null, "blah", 
"worker321", f(sparkHome), f("ooga"), ExecutorState.RUNNING)
+    val er = new ExecutorRunner(appId, 1, appDesc, 8, 500, null, "blah", 
"worker321", f(sparkHome),
+      f("ooga"), ExecutorState.RUNNING)
 
     assert(er.buildCommandSeq().last === appId)
   }

Reply via email to