Skip to content

Commit b86bcb0

Browse files
committed
update test to look at one stage attempt
1 parent 5f9df24 commit b86bcb0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[ {
1+
{
22
"status" : "Complete",
33
"stageId" : 0,
44
"attemptId" : 0,
@@ -239,4 +239,4 @@
239239
"diskBytesSpilled" : 0
240240
}
241241
}
242-
} ]
242+
}

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
@@ -80,7 +80,7 @@ class HistoryServerSuite extends FunSuite with BeforeAndAfter with Matchers with
8080
"one stage json" -> "applications/local-1422981780767/stages/1",
8181
"one stage attempt json" -> "applications/local-1422981780767/stages/1/0",
8282
"stage list with accumulable json" -> "applications/local-1426533911241/stages",
83-
"stage with accumulable json" -> "applications/local-1426533911241/stages/0",
83+
"stage with accumulable json" -> "applications/local-1426533911241/stages/0/0",
8484
"rdd list storage json" -> "applications/local-1422981780767/storage/rdd",
8585
"one rdd storage json" -> "applications/local-1422981780767/storage/rdd/0"
8686
//TODO multi-attempt stages

0 commit comments

Comments
 (0)