Skip to content

Commit 9092af5

Browse files
author
Marcelo Vanzin
committed
Fix HistoryServer test.
1 parent 3a14503 commit 9092af5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/test/scala/org/apache/spark/deploy/history/HistoryServerSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class HistoryServerSuite extends FunSuite with Matchers with MockitoSugar {
3737
val ui = mock[SparkUI]
3838
val link = "/history/app1"
3939
val info = new ApplicationHistoryInfo("app1", "app1",
40-
List(ApplicationAttemptInfo("attempt1", 0, 2, 1, "xxx", true)))
40+
List(ApplicationAttemptInfo("", 0, 2, 1, "xxx", true)))
4141
when(historyServer.getApplicationList()).thenReturn(Seq(info))
4242
when(ui.basePath).thenReturn(link)
4343
when(historyServer.getProviderConfig()).thenReturn(Map[String, String]())

0 commit comments

Comments
 (0)