You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2016/11/20 21:56:23 UTC

spark git commit: Fix Mesos build break for Scala 2.10.

Repository: spark
Updated Branches:
  refs/heads/master c528812ce -> 6659ae555


Fix Mesos build break for Scala 2.10.


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

Branch: refs/heads/master
Commit: 6659ae555a464c7a16881b660265061481c0d25f
Parents: c528812
Author: Reynold Xin <rx...@databricks.com>
Authored: Sun Nov 20 13:56:08 2016 -0800
Committer: Reynold Xin <rx...@databricks.com>
Committed: Sun Nov 20 13:56:08 2016 -0800

----------------------------------------------------------------------
 .../spark/deploy/mesos/MesosClusterDispatcherArgumentsSuite.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/6659ae55/mesos/src/test/scala/org/apache/spark/deploy/mesos/MesosClusterDispatcherArgumentsSuite.scala
----------------------------------------------------------------------
diff --git a/mesos/src/test/scala/org/apache/spark/deploy/mesos/MesosClusterDispatcherArgumentsSuite.scala b/mesos/src/test/scala/org/apache/spark/deploy/mesos/MesosClusterDispatcherArgumentsSuite.scala
index b6c0b32..33e7d69 100644
--- a/mesos/src/test/scala/org/apache/spark/deploy/mesos/MesosClusterDispatcherArgumentsSuite.scala
+++ b/mesos/src/test/scala/org/apache/spark/deploy/mesos/MesosClusterDispatcherArgumentsSuite.scala
@@ -55,7 +55,7 @@ class MesosClusterDispatcherArgumentsSuite extends SparkFunSuite
     assert(Option(mesosDispClusterArgs.masterUrl).isDefined)
     assert(mesosDispClusterArgs.masterUrl == masterUrl.stripPrefix("mesos://"))
     assert(Option(mesosDispClusterArgs.zookeeperUrl).isDefined)
-    assert(mesosDispClusterArgs.zookeeperUrl contains zookeeperUrl)
+    assert(mesosDispClusterArgs.zookeeperUrl == Some(zookeeperUrl))
     assert(mesosDispClusterArgs.name == name)
     assert(mesosDispClusterArgs.webUiPort == webUiPort.toInt)
     assert(mesosDispClusterArgs.port == port.toInt)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org