On Fri, 22 Nov 2024 19:24:28 GMT, Damon Nguyen <[email protected]> wrote:

> Test intermittently fails with a few different Exceptions. Initial report 
> shows `Choice can't be controlled by keyboard` when failing. An additional 
> report of an intermittent failure shows `Button does not have focus`.
> 
> Added some stability fixes. Additional delays, removed extraneous window, and 
> added an additional focus check.
> 
> Debugged using additional screenshots during different failure points. Looks 
> like sometimes the focus is still on the button. So, the delay has been added 
> afterwards. Test passes on 22.04 Ubuntu machine with 100 repeats in CI. Also 
> passed testing on all OS's with 50 repeats in CI.

This pull request has now been integrated.

Changeset: f37f64df
Author:    Damon Nguyen <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/f37f64df8c44fffa25a0b337193d67016f8380f3
Stats:     76 lines in 1 file changed: 33 ins; 22 del; 21 mod

8343736: Test java/awt/Focus/UnaccessibleChoice/AccessibleChoiceTest.java 
failed: Choice can't be controlled by keyboard

Reviewed-by: honkar, abhiscxk

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

PR: https://git.openjdk.org/jdk/pull/22333

Reply via email to