There are a bunch of tests with "-Djava.net.preferIPv4Stack=true", which
should clearly fail in an IPv6 only environment.

Would skipping these when IPv4 is not supported be okay? I see that some
tests with "-Djava.net.preferIPv6Addresses=true" will pass even if the IPv6
part of the test failed.

On Fri, Mar 29, 2019 at 12:59 PM Arthur Eubanks <aeuba...@google.com> wrote:

> I had just started on this yesterday.
> I'll look at which of the tests we modified in our patches with ipv4/6
> detection. I'm worried that some of them may be disabling test coverage
> that shouldn't be disabled, but I'll have to look in more detail. Also, we
> don't have a JDK at head which works in our environments, so we might miss
> some failures until we've decided to have a JDK at head that works in our
> environments and run all of the networking tests.
>
> Thanks for the webrev, I'll definitely use that.
>
> On Fri, Mar 29, 2019 at 8:10 AM Chris Hegarty <chris.hega...@oracle.com>
> wrote:
>
>> Arthur,
>>
>> Several tests require the presence of either: 1) IPv4, or 2) IPv6, or
>> 3) IPv4&IPv6. A test library utility class could provide such.
>>
>> Here is a rough idea about how to determine Internet Protocol support.
>>    http://cr.openjdk.java.net/~chegar/8220673/webrev.00/
>>
>> It might be enough to experiment with and see how far it gets us?
>>
>> -Chris.
>>
>> P.S. Let's use the `[ipv6]` subject prefix to track related work
>> in this area.
>>
>

Reply via email to