Skip to content
Snippets Groups Projects
Commit 044c8ad3 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Fix unit test compilation

parent d8bcc8e9
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,8 @@ class JsonProtocolSuite extends FunSuite { ...@@ -73,7 +73,8 @@ class JsonProtocolSuite extends FunSuite {
new ApplicationDescription("name", 4, 1234, cmd, "sparkHome", "appUiUrl") new ApplicationDescription("name", 4, 1234, cmd, "sparkHome", "appUiUrl")
} }
def createAppInfo() : ApplicationInfo = { 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 = { def createWorkerInfo() : WorkerInfo = {
new WorkerInfo("id", "host", 8080, 4, 1234, null, 80, "publicAddress") new WorkerInfo("id", "host", 8080, 4, 1234, null, 80, "publicAddress")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment