Skip to content

Commit

Permalink
Merge pull request alteryx#145 from aarondav/sls-fix
Browse files Browse the repository at this point in the history
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.

(cherry picked from commit 951024f)
Signed-off-by: Reynold Xin <[email protected]>
  • Loading branch information
rxin committed Nov 6, 2013
1 parent 0f62786 commit c8e0c0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class SparkListenerSuite extends FunSuite with LocalSparkContext with ShouldMatc
i
}

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

0 comments on commit c8e0c0d

Please sign in to comment.