Skip to content

Commit 2eebbf2

Browse files
committed
style
1 parent 7fbcefb commit 2eebbf2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,10 +804,12 @@ class DAGSchedulerSuite
804804
// second attempt
805805
if (TaskContext.get().asInstanceOf[TaskContextImpl].stageAttemptId == 0) {
806806
if (idx == 0) {
807-
throw new FetchFailedException(aBm, 0, 0, idx, cause = new RuntimeException("simulated fetch failure"))
807+
throw new FetchFailedException(aBm, 0, 0, idx,
808+
cause = new RuntimeException("simulated fetch failure"))
808809
} else if (idx > 0 && math.random < 0.1) {
809810
Thread.sleep(10000)
810-
throw new FetchFailedException(aBm, 0, 0, idx, cause = new RuntimeException("simulated fetch failure"))
811+
throw new FetchFailedException(aBm, 0, 0, idx,
812+
cause = new RuntimeException("simulated fetch failure"))
811813
}
812814
} else {
813815
Thread.sleep(10000)

0 commit comments

Comments
 (0)