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

Damon Nguyen dnguyen at openjdk.org
Thu Nov 28 01:19:31 UTC 2024


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

Damon Nguyen has updated the pull request incrementally with two additional commits since the last revision:

 - String comparison
 - Review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22333/files
  - new: https://git.openjdk.org/jdk/pull/22333/files/75a04afe..5315580f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22333&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22333&range=00-01

  Stats: 48 lines in 1 file changed: 18 ins; 8 del; 22 mod
  Patch: https://git.openjdk.org/jdk/pull/22333.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22333/head:pull/22333

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


More information about the client-libs-dev mailing list