Updated Branches:
  refs/heads/master bf4e6131c -> 951024fee

Attempt to fix SparkListenerSuite breakage

Could not reproduce locally, but this test could've been flaky if the
build machine was too fast.


Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/80e98d2b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/80e98d2b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/80e98d2b

Branch: refs/heads/master
Commit: 80e98d2bd75336aa493da070df99a634b84dac3a
Parents: bf4e613
Author: Aaron Davidson <[email protected]>
Authored: Wed Nov 6 08:03:35 2013 -0800
Committer: Aaron Davidson <[email protected]>
Committed: Wed Nov 6 08:03:35 2013 -0800

----------------------------------------------------------------------
 .../test/scala/org/apache/spark/scheduler/SparkListenerSuite.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/80e98d2b/core/src/test/scala/org/apache/spark/scheduler/SparkListenerSuite.scala
----------------------------------------------------------------------
diff --git 
a/core/src/test/scala/org/apache/spark/scheduler/SparkListenerSuite.scala 
b/core/src/test/scala/org/apache/spark/scheduler/SparkListenerSuite.scala
index f7f5995..1fd7642 100644
--- a/core/src/test/scala/org/apache/spark/scheduler/SparkListenerSuite.scala
+++ b/core/src/test/scala/org/apache/spark/scheduler/SparkListenerSuite.scala
@@ -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)

Reply via email to