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

Damon Nguyen dnguyen at openjdk.org
Tue Dec 3 18:07:22 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 one additional commit since the last revision:

  Final review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22333/files
  - new: https://git.openjdk.org/jdk/pull/22333/files/19fc99f9..e91e2e88

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

  Stats: 4 lines in 1 file changed: 0 ins; 1 del; 3 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