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=. This pull request has now been integrated. Changeset: e8c9e5c6 Author: Kevin Walls <kev...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/e8c9e5c6cd3c844765c27c068022a018914fdf4e Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod 8353231: Test com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad still fails intermittently Reviewed-by: dholmes ------------- PR: https://git.openjdk.org/jdk/pull/24352