[jdk17u-dev] RFR: 8313355: javax/management/remote/mandatory/notif/ListenerScaleTest.java failed with "Exception: Failed: ratio=792.2791601423487"
Roland Mesde
duke at openjdk.org
Wed Oct 29 17:52:01 UTC 2025
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.
-------------
Commit messages:
- Backport debf0ecfb0076f5513595c74038215520d630764
Changes: https://git.openjdk.org/jdk17u-dev/pull/4116/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=4116&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8313355
Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/4116.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/4116/head:pull/4116
PR: https://git.openjdk.org/jdk17u-dev/pull/4116
More information about the jdk-updates-dev
mailing list