[jdk17u-dev] Integrated: 8313355: javax/management/remote/mandatory/notif/ListenerScaleTest.java failed with "Exception: Failed: ratio=792.2791601423487"

Roland Mesde duke at openjdk.org
Thu Oct 30 16:43:59 UTC 2025


On Mon, 27 Oct 2025 17:24:18 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8313355: javax/management/remote/mandatory/notif/ListenerScaleTest.java failed with "Exception: Failed: ratio=792.2791601423487". The javax/management/remote/mandatory/notif/ListenerScaleTest.java test fails intermittently - this change preserves the function of the test, while minimizing/removing intermittent failures. Specifically, the test exists to check that notification work does not scale linearly with number of MBeans, so it calculates a ratio of the time taken with one, and with 20,000 MBeans. We can increase the point at which that calculated ratio is considered a failure: original commit chooses 2500. Ran GHA Sanity Checks (1 unrelated test failure - java/lang/ProcessBuilder/Basic.java#id0) and adjusted test (passed). Patch is clean.

This pull request has now been integrated.

Changeset: 25b2e4b2
Author:    Roland Mesde <mesde at amazon.com>
Committer: Victor Rudometov <vrudomet at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/25b2e4b2bc0c5ee8d6200e018de93b5e45e56384
Stats:     4 lines in 1 file changed: 2 ins; 0 del; 2 mod

8313355: javax/management/remote/mandatory/notif/ListenerScaleTest.java failed with "Exception: Failed: ratio=792.2791601423487"

Backport-of: debf0ecfb0076f5513595c74038215520d630764

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

PR: https://git.openjdk.org/jdk17u-dev/pull/4116


More information about the jdk-updates-dev mailing list