spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwend...@apache.org
Subject [22/50] git commit: Fix unit test failure due to changed default
Date Tue, 10 Sep 2013 19:32:27 GMT
Fix unit test failure due to changed default


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

Branch: refs/remotes/origin/branch-0.8
Commit: 170b3869ee8c854b66ce75901efc2c1a9e96ff99
Parents: 5a587fb
Author: Matei Zaharia <matei@eecs.berkeley.edu>
Authored: Sun Sep 8 17:51:27 2013 -0700
Committer: Matei Zaharia <matei@eecs.berkeley.edu>
Committed: Sun Sep 8 17:51:27 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/170b3869/core/src/test/scala/org/apache/spark/scheduler/cluster/ClusterSchedulerSuite.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/org/apache/spark/scheduler/cluster/ClusterSchedulerSuite.scala
b/core/src/test/scala/org/apache/spark/scheduler/cluster/ClusterSchedulerSuite.scala
index 2b0d90e..1b50ce0 100644
--- a/core/src/test/scala/org/apache/spark/scheduler/cluster/ClusterSchedulerSuite.scala
+++ b/core/src/test/scala/org/apache/spark/scheduler/cluster/ClusterSchedulerSuite.scala
@@ -179,7 +179,7 @@ class ClusterSchedulerSuite extends FunSuite with LocalSparkContext with
Logging
     assert(rootPool.getSchedulableByName("1").weight === 1)
     assert(rootPool.getSchedulableByName("2").minShare === 3)
     assert(rootPool.getSchedulableByName("2").weight === 1)
-    assert(rootPool.getSchedulableByName("3").minShare === 2)
+    assert(rootPool.getSchedulableByName("3").minShare === 0)
     assert(rootPool.getSchedulableByName("3").weight === 1)
 
     val properties1 = new Properties()


Mime
View raw message