RFR: 8256427: Test com/sun/jndi/dns/ConfigTests/PortUnreachable.java does not work on AIX
Jie Fu
jiefu at openjdk.java.net
Tue Nov 17 03:37:03 UTC 2020
On Mon, 16 Nov 2020 22:28:08 GMT, Christoph Langer <clanger at openjdk.org> wrote:
> The test com/sun/jndi/dns/ConfigTests/PortUnreachable.java is not working on AIX.
>
> It tests that when a DNS server is unreachable it fails quickly with a PortUnreachableException due to ICMP Destination Unreachable packets received and not having to wait for the full timeout interval.
> Unfortunately, on AIX such ICMP packets are not received, so the only exception cause will be the timeout. Hence, this test can't work on AIX, so it should not be executed there.
>
> At SAP, we had this test excluded for a long time already in our private exclude list for AIX. I suggest this test update to be the final solution.
test/jdk/com/sun/jndi/dns/ConfigTests/PortUnreachable.java line 2:
> 1: /*
> 2: * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
The copyright year had been updated in https://github.com/openjdk/jdk/pull/1116
Thanks.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1241
More information about the core-libs-dev
mailing list