Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8273520

SubMenuShowTest.java times out on macOS 12

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              psadhukhan Prasanta Sadhukhan
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: