RFR: 8361530: Test javax/swing/GraphicsConfigNotifier/StalePreferredSize.java timed out
Phil Race
prr at openjdk.org
Wed Sep 10 18:27:59 UTC 2025
This test takes an insane amount of time on some systems. I just saw it take 1,042 seconds to PASS on an x64 Mac.
It doesn't help that there are 3 @run commands.
But also it loops over L&Fs, fonts, etc, testing many component types and created 4.600 top level frames and 2,300 popups
I don't think we need all 3 run commands and I think testing with one font is fine for this.
That would bring that successful run down to just under 3 minutes.
And since each test is doing 1/3 of the work a slight reduction in timeout : 600 -> 420, seems appropriate.
-------------
Commit messages:
- 8361530
- StalePreferredSize.java
Changes: https://git.openjdk.org/jdk/pull/27200/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27200&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8361530
Stats: 5 lines in 1 file changed: 0 ins; 1 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/27200.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27200/head:pull/27200
PR: https://git.openjdk.org/jdk/pull/27200
More information about the client-libs-dev
mailing list