RFR: 8338630: Test java/nio/channels/DatagramChannel/SendReceiveMaxSize.java timeout [v2]
duke
duke at openjdk.org
Fri Aug 23 01:35:13 UTC 2024
On Wed, 21 Aug 2024 12:45:22 GMT, SendaoYan <syan at openjdk.org> wrote:
>> Hi,
>> On linux test environments which has docker service, `ifconfig` shows that `docker0` appears to be a virtual ethernet bridge which is created by the docker host. And the `docker0` virtual ethernet bridge may cause test `java/nio/channels/DatagramChannel/SendReceiveMaxSize.java` bind `docker0` ander network port.
>> I think we should just skip "docker0" interfaces when looking for an IPv4 address for tests.
>> Change has been verified, test fix only, the risk is low.
>>
>> Additional testing
>>
>> - [x] full jtreg test on linux x64
>> - [x] full jtreg test on linux aarch64
>
> SendaoYan has updated the pull request incrementally with two additional commits since the last revision:
>
> - macos may have docker0 interface
> - macos may have docker0 interface
@sendaoYan
Your change (at version d5c3f695f76c8b513be4f3e2b651e8e051693f87) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20658#issuecomment-2306012378
More information about the nio-dev
mailing list