Repository: spark
Updated Branches:
  refs/heads/master 65fec798c -> 8815ba2f6


[SPARK-9649] Fix MasterSuite, third time's a charm

This particular test did not load the default configurations so
it continued to start the REST server, which causes port bind
exceptions.


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

Branch: refs/heads/master
Commit: 8815ba2f674dbb18eb499216df9942b411e10daa
Parents: 65fec79
Author: Andrew Or <[email protected]>
Authored: Thu Aug 13 11:31:10 2015 -0700
Committer: Andrew Or <[email protected]>
Committed: Thu Aug 13 11:31:10 2015 -0700

----------------------------------------------------------------------
 .../src/test/scala/org/apache/spark/deploy/master/MasterSuite.scala | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/8815ba2f/core/src/test/scala/org/apache/spark/deploy/master/MasterSuite.scala
----------------------------------------------------------------------
diff --git 
a/core/src/test/scala/org/apache/spark/deploy/master/MasterSuite.scala 
b/core/src/test/scala/org/apache/spark/deploy/master/MasterSuite.scala
index 20d0201..242bf4b 100644
--- a/core/src/test/scala/org/apache/spark/deploy/master/MasterSuite.scala
+++ b/core/src/test/scala/org/apache/spark/deploy/master/MasterSuite.scala
@@ -40,6 +40,7 @@ class MasterSuite extends SparkFunSuite with Matchers with 
Eventually with Priva
     conf.set("spark.deploy.recoveryMode", "CUSTOM")
     conf.set("spark.deploy.recoveryMode.factory",
       classOf[CustomRecoveryModeFactory].getCanonicalName)
+    conf.set("spark.master.rest.enabled", "false")
 
     val instantiationAttempts = CustomRecoveryModeFactory.instantiationAttempts
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to