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

duke duke at openjdk.org
Thu Oct 30 15:19:00 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.

@rm-gh-8 
Your change (at version 35ccafd7751b036a264ba99f14afcbc0dd7591da) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/4116#issuecomment-3468549336


More information about the jdk-updates-dev mailing list