On Wed, 21 Aug 2024 03:45:24 GMT, SendaoYan <s...@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

This pull request has now been integrated.

Changeset: 8e0d0190
Author:    SendaoYan <s...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/8e0d0190ed19bc1a9d4ec0c6ee3aa6454542989f
Stats:     10 lines in 1 file changed: 7 ins; 0 del; 3 mod

8338630: Test java/nio/channels/DatagramChannel/SendReceiveMaxSize.java timeout

Reviewed-by: dfuchs, jpai, djelinski

-------------

PR: https://git.openjdk.org/jdk/pull/20658

Reply via email to