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

Make some systems tests robust for Ubuntu 24.04

XMLWordPrintable

    • master
    • generic
    • linux_ubuntu

      MenuDoubleShortcutTest->acceleratorOnlyInMenuBar() fails intermittently only on Ubuntu 24.04 system(It fails both on wayland and Xorg). This test doesn't fail in Ubuntu22.04 system.

      MenuDoubleShortcutTest > acceleratorOnlyInMenuBar() FAILED
          org.opentest4j.AssertionFailedError: Key press event triggered no actions ==> expected: <FIREDMENUITEM> but was: <IGNORED>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
              at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
              at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1156)
              at app//test.robot.javafx.scene.MenuDoubleShortcutTest.acceleratorOnlyInMenuBar(MenuDoubleShortcutTest.java:121)

      Looks like appropriate action item is not fired in Ubuntu 24.04. Increasing delay in test also doesn't help and it looks like a product issue.

            jdv Jayathirth D V
            jdv Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: