You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "George Harley (JIRA)" <ji...@apache.org> on 2006/04/04 14:34:43 UTC

[jira] Resolved: (HARMONY-247) Errors in tests.api.java.net.NetworkInterfaceTest depending on network status of test machine

     [ http://issues.apache.org/jira/browse/HARMONY-247?page=all ]
     
George Harley resolved HARMONY-247:
-----------------------------------

    Resolution: Fixed

Changes committed in SVN revision 391289. 

> Errors in tests.api.java.net.NetworkInterfaceTest depending on network status of test machine
> ---------------------------------------------------------------------------------------------
>
>          Key: HARMONY-247
>          URL: http://issues.apache.org/jira/browse/HARMONY-247
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>  Environment: All
>     Reporter: George Harley
>     Assignee: George Harley
>  Attachments: Harmony-247.txt
>
> Seeing java.util.NoSuchElementException occurring in the setUp() method of this test case with the result that all test methods were errors. The problem seems to be that the setup code that sets instance members is not checking the NetworkInterface instances returned from the static getNetworkInterfaces() method to see if they actually have an InetAddress bound to them. On my laptop the setup code chose to work with the NetworkInterface instance corresponding to my wireless adapter - which was not currently active.
> Best regards, 
> George

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira