Skip to content

Commit 80e98d2

Browse files
committed
Attempt to fix SparkListenerSuite breakage
Could not reproduce locally, but this test could've been flaky if the build machine was too fast.
1 parent bf4e613 commit 80e98d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class SparkListenerSuite extends FunSuite with LocalSparkContext with ShouldMatc
8383
i
8484
}
8585

86-
val d = sc.parallelize(1 to 1e4.toInt, 64).map{i => w(i)}
86+
val d = sc.parallelize(0 to 1e4.toInt, 64).map{i => w(i)}
8787
d.count()
8888
assert(sc.dagScheduler.listenerBus.waitUntilEmpty(WAIT_TIMEOUT_MILLIS))
8989
listener.stageInfos.size should be (1)

0 commit comments

Comments
 (0)