Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3571#discussion_r23138589
  
    --- Diff: 
core/src/test/scala/org/apache/spark/deploy/master/MasterSuite.scala ---
    @@ -20,30 +20,48 @@ package org.apache.spark.deploy.master
     import akka.actor.Address
     import org.scalatest.FunSuite
     
    -import org.apache.spark.SparkException
    +import org.apache.spark.{SparkConf, SparkException}
     
     class MasterSuite extends FunSuite {
     
       test("toAkkaUrl") {
    -    val akkaUrl = Master.toAkkaUrl("spark://1.2.3.4:1234")
    +    val conf = new SparkConf(loadDefaults = false)
    --- End diff --
    
    `loadDefaults = false` is a nice touch; we should probably do this in more 
of our unit tests.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to