RFR: 8317288: [macos] java/awt/Window/Grab/GrabTest.java: Press on the outside area didn't cause ungrab [v2]

Harshitha Onkar honkar at openjdk.org
Tue Dec 5 01:04:37 UTC 2023


On Fri, 1 Dec 2023 20:35:09 GMT, Alisen Chung <achung at openjdk.org> wrote:

>> Added delays to stabilize test, test passes 50 times consecutively
>
> Alisen Chung has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - updated test
>  - updated test

test/jdk/java/awt/Window/Grab/GrabTest.java line 121:

> 119: 
> 120:             f.setVisible(true);
> 121:             w.setVisible(true);

Suggestion:

            f.setVisible(true);
            w.setVisible(true);
            robot.delay(500);


Since it is unstable test, adding a delay here after the first set of frame & window are made visible might be good.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16867#discussion_r1414714397


More information about the client-libs-dev mailing list