On Tue, 1 Apr 2025 10:27:39 GMT, Kevin Walls <kev...@openjdk.org> wrote:

> Test com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad still fails 
> intermittently.
> On failure, 10 attempts with sleep(200) each time, only read -1 from 
> mbean.getProcessCpuLoad().
> The method is documented to return -1 when info is not available, but want to 
> avoid the test accepting a -1 and masking real problems.
> 
> Test failures are happening when multiple CPU load reding tests ran on the 
> same host, at the same second.
> Add a TEST.properties file containing: exclusiveAccess.dirs=.

Okay lets give this a try.

Thanks

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24352#pullrequestreview-2745797954

Reply via email to