Github user squito commented on the pull request:

    https://github.com/apache/spark/pull/9472#issuecomment-154183816
  
    oh, I had been thinking of a test that hits a web endpoint, but just 
checking getApplicationInfoList is also good.  I have a feeling you will still 
have to start the server in any case, the way the code is written now, without 
some bigger refactoring.
    
    though hitting the actual endpoint has the advantage that you will check 
the json itself, which is the actual public api.  My slight preference is for 
testing the actual endpoints unless there is some reason that is much harder to 
do.


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