On Tue, 3 Jan 2023 16:30:43 GMT, Alexey Ivanov <[email protected]> wrote:
>> test/jdk/java/awt/PopupMenu/PopupMenuLocation.java line 133: >> >>> 131: robot.mousePress(InputEvent.BUTTON3_DOWN_MASK); >>> 132: robot.mouseRelease(InputEvent.BUTTON3_DOWN_MASK); >>> 133: robot.waitForIdle(); >> >> When testing locally on my macOS machine, this waitForIdle seems to be the >> culprit for why this test takes much longer per iteration. Maybe worth >> looking into why? > > Yes, this `robot.waitForIdle` makes the test unbearably slow. Worth > submitting a separate bug with the reproducer. At this point, the pop is > shown on the screen and its first item is highlighted. > > I replaced it with > > robot.delay(200); Replaced robot.waitForIdle with robot.delay(200). I will check the possibility of raising a new bug. ------------- PR: https://git.openjdk.org/jdk/pull/10655
