RFR 8131155/9, java/net/NetworkInterface/NetworkInterfaceStreamTest.java failed because of Teredo Tunneling Pseudo-Interface

Chris Hegarty chris.hegarty at oracle.com
Mon Dec 14 10:53:45 UTC 2015


On 14/12/15 10:07, Paul Sandoz wrote:
> Hi Felix,
>
> Is it correct to filter out all network interfaces on windows platforms?

I may be missing something, but this should ONLY filter out
interfaces with the name 'Teredo', on Windows. NOT ALL.
It is quite common for networking tests to exclude Teredo
interfaces, as they are unstable ( for testing purposes ).

-Chris.

> IIUC that renders the tests testSubNetworkInterfaces and testInetAddresses redundant on windows.
>
> If so it would be useful to document that on those tests.
>
>
> Some minor suggestions:
>
>    s/isWindows/IS_WINDOWS
>
> Colocate the “isIncluded" with IS_WINDOWS.
>
> Paul.
>
>> On 14 Dec 2015, at 07:53, Felix Yang <felix.yang at oracle.com> wrote:
>>
>> Hi all,
>>     please review the fix for java/net/NetworkInterface/NetworkInterfaceStreamTest.java. It is necessary to exclude "Teredo Tunneling Pseudo-Interface" whose configuration changes frequently.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8131155
>> Webrev: http://cr.openjdk.java.net/~xiaofeya/8131155/webrev.00
>>
>> Thanks,
>> Felix
>


More information about the net-dev mailing list