zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tedyu <...@git.apache.org>
Subject [GitHub] zookeeper pull request #149: ZOOKEEPER-2664: ClientPortBindTest#testBindByAd...
Date Fri, 13 Jan 2017 17:26:29 GMT
GitHub user tedyu opened a pull request:


    ZOOKEEPER-2664: ClientPortBindTest#testBindByAddress may fail due to "No such device"

    The following stack trace was observed intermittently:
    java.net.SocketException: No such device
    	at java.net.NetworkInterface.isLoopback0(Native Method)
    	at java.net.NetworkInterface.isLoopback(NetworkInterface.java:390)
    	at org.apache.zookeeper.test.ClientPortBindTest.testBindByAddress(ClientPortBindTest.java:61)
    	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
    Standard Output
    Proposed fix is to catch exception from isLoopback() call and skip the test in that case.

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

    $ git pull https://github.com/tedyu/zookeeper master

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


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

    This closes #149
commit 9b4cbd0e395cc9d569e0bdf062580278d9541bdd
Author: tedyu <yuzhihong@gmail.com>
Date:   2017-01-13T17:23:13Z

    ZOOKEEPER-2664 ClientPortBindTest#testBindByAddress may fail due to "No such device" exception


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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message