Skip to content

Commit

Permalink
Fix HistoryServer test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Vanzin committed Apr 9, 2015
1 parent 3a14503 commit 9092af5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class HistoryServerSuite extends FunSuite with Matchers with MockitoSugar {
val ui = mock[SparkUI]
val link = "/history/app1"
val info = new ApplicationHistoryInfo("app1", "app1",
List(ApplicationAttemptInfo("attempt1", 0, 2, 1, "xxx", true)))
List(ApplicationAttemptInfo("", 0, 2, 1, "xxx", true)))
when(historyServer.getApplicationList()).thenReturn(Seq(info))
when(ui.basePath).thenReturn(link)
when(historyServer.getProviderConfig()).thenReturn(Map[String, String]())
Expand Down

0 comments on commit 9092af5

Please sign in to comment.