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

    https://github.com/apache/spark/pull/6284#discussion_r30718577
  
    --- Diff: 
core/src/test/scala/org/apache/spark/deploy/master/MasterSuite.scala ---
    @@ -157,4 +161,27 @@ class MasterSuite extends FunSuite with Matchers {
         CustomRecoveryModeFactory.instantiationAttempts should be > 
instantiationAttempts
       }
     
    +  test("Master & worker web ui available") {
    +    implicit val formats = org.json4s.DefaultFormats
    +    val conf = new SparkConf()
    +    val localCluster = new LocalSparkCluster(2, 2, 512, conf)
    +    localCluster.start()
    +    try {
    +      eventually(timeout(2 seconds), interval(100 milliseconds)) {
    --- End diff --
    
    Is 2 seconds enough? Does `start()` guarantee that the WebUI is up and 
running when it returns?
    
    I'm wary of some really slow build machine triggering this timeout.


---
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