Integrated: JDK-8228990: JFR: TestNetworkUtilizationEvent.java expects 2+ Network interfaces on Linux but finding 1

Erik Gahlin egahlin at openjdk.java.net
Wed May 25 12:17:00 UTC 2022


On Mon, 23 May 2022 12:25:36 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Could I have a review of a PR that changes the test for the Network Utilization event so it only validates the loopback interface. 
> 
> The test fail intermittently on the real network interface, so it's been on the problem list for years. This means the event hasn't got any testing. If there is an interest and resources to investigate this further, a separate issue can be filed to add back testing for more than the loopback interface.
> 
> Testing: 
> Running /test/jdk/jdk/jfr/event/runtime/TestNetworkUtilizationEvent.java 400 times on Mac, Linux and Windows.
> 
> Thanks
> Erik

This pull request has now been integrated.

Changeset: e21b527b
Author:    Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/e21b527b185888699d0bbb64c5e6bfacab337ce4
Stats:     16 lines in 2 files changed: 0 ins; 12 del; 4 mod

8228990: JFR: TestNetworkUtilizationEvent.java expects 2+ Network interfaces on Linux but finding 1

Reviewed-by: mgronlun

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

PR: https://git.openjdk.java.net/jdk/pull/8841


More information about the hotspot-jfr-dev mailing list