RFR: JDK-8228990: JFR: TestNetworkUtilizationEvent.java expects 2+ Network interfaces on Linux but finding 1
Markus Grönlund
mgronlun at openjdk.java.net
Tue May 24 15:46:47 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
Marked as reviewed by mgronlun (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/8841
More information about the hotspot-jfr-dev
mailing list