RFR: 8315484: java/awt/dnd/RejectDragDropActionTest.java timed out [v2]

Harshitha Onkar honkar at openjdk.org
Mon Oct 2 23:59:36 UTC 2023


On Mon, 2 Oct 2023 23:51:04 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> This test intermittently fails by timeout. Increasing the timeout alone doesn't solve the failure as it still fails in about 400 runs. Adding another delay and reducing the delay amount to 1000ms. Now, the test passes after 2 sets of 500 repeats on all OS's without a timeout.
>
> Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove pack for explicit size

test/jdk/java/awt/dnd/RejectDragDropActionTest.java line 90:

> 88:             Robot robot = new Robot();
> 89:             robot.waitForIdle();
> 90:             robot.delay(DELAY_TIME);

Does adding `robot.autoWaitForIdle(true)` additionally increase the stability of the test since it has subsequent DnD events performed by the robot?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16018#discussion_r1343266692


More information about the client-libs-dev mailing list