Skip to content

Commit 951024f

Browse files
committed
Merge pull request alteryx#145 from aarondav/sls-fix
Attempt to fix SparkListenerSuite breakage Could not reproduce locally, but this test could've been flaky if the build machine was too fast, due to typo. (index 0 is intentionally slowed down to ensure total time is >= 1 ms) This should be merged into branch-0.8 as well.
2 parents bf4e613 + 80e98d2 commit 951024f

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)