diff options
author | Matei Zaharia <matei@databricks.com> | 2014-01-07 16:12:20 -0500 |
---|---|---|
committer | Matei Zaharia <matei@databricks.com> | 2014-01-07 16:12:20 -0500 |
commit | 044c8ad3a47d245198a16a68e36a417e80e8c37e (patch) | |
tree | a058a079c0a89081dd487ba7dbd8e8d814555555 /core/src | |
parent | d8bcc8e9a095c1b20dd7a17b6535800d39bff80e (diff) | |
download | spark-044c8ad3a47d245198a16a68e36a417e80e8c37e.tar.gz spark-044c8ad3a47d245198a16a68e36a417e80e8c37e.tar.bz2 spark-044c8ad3a47d245198a16a68e36a417e80e8c37e.zip |
Fix unit test compilation
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/test/scala/org/apache/spark/deploy/JsonProtocolSuite.scala | 3 |
1 files changed, 2 insertions, 1 deletions
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 0b38e239f9..810ebf4140 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") |