java/awt/KeyboardFocusmanager/TypeAhead/SubMenuShowTest/SubMenuShowTest.java
is reliably failing on our macos 12 test systems.
It is dependent on interpretation of kesystrokes and timing.
I am reasonably sure the failure share a root cause with
https://bugs.openjdk.java.net/browse/JDK-8273506
- the test uses Robot's setAutoWaitForIdle() API
- it uses 'm' as a mnemonic - the same keystroke causing problems there
- it expects a response in 1.5 seconds
- if I change the test to use (randomly) 'x' instead of 'm' it is all fine !
So 'm' basically makes the test hang, due in the first instance, to robot then not returning in time, but with root cause TBD.
FWIW I disabled every macOS keystroke shortcut I could find anywhere in System Settings but to no avail.
is reliably failing on our macos 12 test systems.
It is dependent on interpretation of kesystrokes and timing.
I am reasonably sure the failure share a root cause with
https://bugs.openjdk.java.net/browse/JDK-8273506
- the test uses Robot's setAutoWaitForIdle() API
- it uses 'm' as a mnemonic - the same keystroke causing problems there
- it expects a response in 1.5 seconds
- if I change the test to use (randomly) 'x' instead of 'm' it is all fine !
So 'm' basically makes the test hang, due in the first instance, to robot then not returning in time, but with root cause TBD.
FWIW I disabled every macOS keystroke shortcut I could find anywhere in System Settings but to no avail.
- duplicates
-
JDK-8273506 java Robot API did the 'm' keypress and caused /awt/event/KeyEvent/KeyCharTest/KeyCharTest.html is timing out on macOS 12
- Resolved