GitHub user heary-cao opened a pull request:

    https://github.com/apache/spark/pull/20516

    [SPARK-23343][CORE][TEST] Increase the exception test for the bind port

    ## What changes were proposed in this pull request?
    
    this PR add new test case, 
    1、add the boundary value test of port 65535
    2、add the privileged port to test,
    3、add rebinding port test when set `spark.port.maxRetries` is 1,
    4、add `Utils.userPort` self circulation to generating port, 
    
    in addition, in the existing test case, if you don't set the 
`spark.testing` for true, the default value for `spark.port.maxRetries` is not 
100, but 16, (expectedPort + 100) is a little mistake.
    
    ## How was this patch tested?
    
    add new test case.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/heary-cao/spark NettyBlockTransferServiceSuite

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/20516.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20516
    
----
commit b276c02956dfc4d475b3e3b42657e10ceab2669e
Author: caoxuewen <cao.xuewen@...>
Date:   2018-02-06T08:51:57Z

    Increase the exception test for the bind port

----


---

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

Reply via email to