RFR: 8361530: Test javax/swing/GraphicsConfigNotifier/StalePreferredSize.java timed out

Prasanta Sadhukhan psadhukhan at openjdk.org
Thu Sep 11 04:39:42 UTC 2025


On Wed, 10 Sep 2025 18:20:13 GMT, Phil Race <prr at openjdk.org> wrote:

> 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.

It seems bold and italic testing is removed..

I did try with only default and 2.25 uiScale factor when I was working on it but that also timed out after some iterations (say 6th iteration of 20) in that particular 14.7 host, so maybe we need to keep an eye on that host still even after this modification

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

Marked as reviewed by psadhukhan (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27200#pullrequestreview-3208683590


More information about the client-libs-dev mailing list