You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ma...@apache.org on 2014/01/08 06:30:41 UTC
[4/6] git commit: Fix unit test compilation
Fix unit test compilation
Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/044c8ad3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/044c8ad3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/044c8ad3
Branch: refs/heads/master
Commit: 044c8ad3a47d245198a16a68e36a417e80e8c37e
Parents: d8bcc8e
Author: Matei Zaharia <ma...@databricks.com>
Authored: Tue Jan 7 16:12:20 2014 -0500
Committer: Matei Zaharia <ma...@databricks.com>
Committed: Tue Jan 7 16:12:20 2014 -0500
----------------------------------------------------------------------
.../test/scala/org/apache/spark/deploy/JsonProtocolSuite.scala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/044c8ad3/core/src/test/scala/org/apache/spark/deploy/JsonProtocolSuite.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/org/apache/spark/deploy/JsonProtocolSuite.scala b/core/src/test/scala/org/apache/spark/deploy/JsonProtocolSuite.scala
index 0b38e23..810ebf4 100644
--- a/core/src/test/scala/org/apache/spark/deploy/JsonProtocolSuite.scala
+++ b/core/src/test/scala/org/apache/spark/deploy/JsonProtocolSuite.scala
@@ -73,7 +73,8 @@ class JsonProtocolSuite extends FunSuite {
new ApplicationDescription("name", 4, 1234, cmd, "sparkHome", "appUiUrl")
}
def createAppInfo() : ApplicationInfo = {
- new ApplicationInfo(3, "id", createAppDesc(), new Date(123456789), null, "appUriStr")
+ new ApplicationInfo(
+ 3, "id", createAppDesc(), new Date(123456789), null, "appUriStr", Int.MaxValue)
}
def createWorkerInfo() : WorkerInfo = {
new WorkerInfo("id", "host", 8080, 4, 1234, null, 80, "publicAddress")